Corrected doc'd type of some parameters from string to str.

This commit is contained in:
Tim Graham 2018-02-12 09:09:46 -05:00
parent 7a715b3881
commit d63c00a428
2 changed files with 3 additions and 3 deletions

View File

@ -905,7 +905,7 @@ Geometry Factories
.. function:: fromstr(string, srid=None) .. function:: fromstr(string, srid=None)
:param string: string that contains spatial data :param string: string that contains spatial data
:type string: string :type string: str
:param srid: spatial reference identifier :param srid: spatial reference identifier
:type srid: int :type srid: int
:rtype: a :class:`GEOSGeometry` corresponding to the spatial data in the string :rtype: a :class:`GEOSGeometry` corresponding to the spatial data in the string

View File

@ -101,10 +101,10 @@ The ``view``, ``kwargs`` and ``name`` arguments are the same as for
:arg module: URLconf module (or module name) :arg module: URLconf module (or module name)
:arg namespace: Instance namespace for the URL entries being included :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 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 :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`. See :ref:`including-other-urlconfs` and :ref:`namespaces-and-include`.