Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6083ecd commit 8ded1f0Copy full SHA for 8ded1f0
doc/devel/document.rst
@@ -537,6 +537,10 @@ understandable by humans. If the possible types are too complex use a
537
simplification for the type description and explain the type more
538
precisely in the text.
539
540
+We do not use formal type annotation syntax for type descriptions in
541
+docstrings; e.g. we use ``list of str`` rather than ``list[str]``; we
542
+use ``int or str`` rather than ``int | str`` or ``Union[int, str]``.
543
+
544
Generally, the `numpydoc docstring guide`_ conventions apply. The following
545
rules expand on them where the numpydoc conventions are not specific.
546
0 commit comments