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 0ce09a1 commit cbd8c82Copy full SHA for cbd8c82
1 file changed
docs/source/kinds_of_types.rst
@@ -443,7 +443,7 @@ case you should add an explicit ``... | None`` annotation.
443
The Python interpreter internally uses the name ``NoneType`` for
444
the type of ``None``, but ``None`` is always used in type
445
annotations. The latter is shorter and reads better. (``NoneType``
446
- is available as :py:data:`types.NoneType` on Python 3.10+, but is
+ is available as :py:class:`types.NoneType` on Python 3.10+, but is
447
not exposed at all on earlier versions of Python.)
448
449
.. note::
0 commit comments