summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2018-02-12 09:09:46 -0500
committerTim Graham <timograham@gmail.com>2018-02-12 09:16:57 -0500
commitd63c00a4283ce85622ec00c6f668630078c75817 (patch)
tree4bb42105f8679733e0fa794c66bbb28a0ba252cb /docs/ref
parent7a715b38815a2a756f2d20c8c12675914a409f5b (diff)
Corrected doc'd type of some parameters from string to str.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/gis/geos.txt2
-rw-r--r--docs/ref/urls.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/contrib/gis/geos.txt b/docs/ref/contrib/gis/geos.txt
index e79e621239..4fc660fd95 100644
--- a/docs/ref/contrib/gis/geos.txt
+++ b/docs/ref/contrib/gis/geos.txt
@@ -905,7 +905,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 b6644b85d7..c7d157ad69 100644
--- a/docs/ref/urls.txt
+++ b/docs/ref/urls.txt
@@ -101,10 +101,10 @@ The ``view``, ``kwargs`` and ``name`` arguments are the same as for
:arg module: URLconf module (or module name)
:arg namespace: Instance namespace for the URL entries being included
- :type namespace: string
+ :type namespace: str
:arg pattern_list: Iterable of :func:`~django.urls.path` and/or :func:`~django.urls.re_path` instances.
:arg app_namespace: Application namespace for the URL entries being included
- :type app_namespace: string
+ :type app_namespace: str
See :ref:`including-other-urlconfs` and :ref:`namespaces-and-include`.