From 4b65fc807ae5b64c5cd1029f11f7c3f0ec67f03b Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 12 Feb 2018 09:09:46 -0500 Subject: [PATCH] [1.11.x] Corrected doc'd type of some parameters from string to str. Backport of d63c00a4283ce85622ec00c6f668630078c75817 from master --- docs/ref/contrib/gis/geos.txt | 2 +- docs/ref/urls.txt | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/ref/contrib/gis/geos.txt b/docs/ref/contrib/gis/geos.txt index 63aa69729c..1c58628c5c 100644 --- a/docs/ref/contrib/gis/geos.txt +++ b/docs/ref/contrib/gis/geos.txt @@ -932,7 +932,7 @@ Geometry Factories .. function:: fromstr(string, srid=None) :param string: string that contains spatial data - :type string: string + :type string: str :param srid: spatial reference identifier :type srid: int :rtype: a :class:`GEOSGeometry` corresponding to the spatial data in the string diff --git a/docs/ref/urls.txt b/docs/ref/urls.txt index d1464da66d..cae83b9226 100644 --- a/docs/ref/urls.txt +++ b/docs/ref/urls.txt @@ -74,14 +74,14 @@ parameter is useful. :arg module: URLconf module (or module name) :arg namespace: Instance namespace for the URL entries being included - :type namespace: string + :type namespace: str :arg app_name: Application namespace for the URL entries being included - :type app_name: string + :type app_name: str :arg pattern_list: Iterable of :func:`django.conf.urls.url` instances :arg app_namespace: Application namespace for the URL entries being included - :type app_namespace: string + :type app_namespace: str :arg instance_namespace: Instance namespace for the URL entries being included - :type instance_namespace: string + :type instance_namespace: str See :ref:`including-other-urlconfs` and :ref:`namespaces-and-include`.