diff options
| author | Tim Graham <timograham@gmail.com> | 2018-02-12 09:09:46 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-02-12 09:37:57 -0500 |
| commit | 906b42c1213f45d62bb3d20790f28d6a45932894 (patch) | |
| tree | f84a31beefdebbb0a4104fe3a1f7376684c81b08 /docs/ref | |
| parent | 9b5ba2168c737c376a85f13d15808615b21b0b3a (diff) | |
[2.0.x] Corrected doc'd type of some parameters from string to str.
Backport of d63c00a4283ce85622ec00c6f668630078c75817 from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/gis/geos.txt | 2 | ||||
| -rw-r--r-- | docs/ref/urls.txt | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/contrib/gis/geos.txt b/docs/ref/contrib/gis/geos.txt index 3bb1b22cea..2b82aea000 100644 --- a/docs/ref/contrib/gis/geos.txt +++ b/docs/ref/contrib/gis/geos.txt @@ -902,7 +902,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`. |
