@@ -484,7 +484,7 @@ Special typing primitives
484484 ``default=None `` is passed, and to :data: `NoDefault ` if no value is passed.
485485
486486 Previously, passing ``None `` would result in :attr: `!__default__ ` being set
487- to :py:data : `types.NoneType `, and passing no value for the parameter would
487+ to :py:class : `types.NoneType `, and passing no value for the parameter would
488488 result in :attr: `!__default__ ` being set to ``None ``.
489489
490490 .. versionchanged :: 4.12.0
@@ -495,7 +495,7 @@ Special typing primitives
495495.. class :: ParamSpecArgs
496496 ParamSpecKwargs
497497
498- See :py:data : `typing.ParamSpecArgs ` and :py:data : `typing.ParamSpecKwargs `.
498+ See :py:class : `typing.ParamSpecArgs ` and :py:class : `typing.ParamSpecKwargs `.
499499 In ``typing `` since 3.10.
500500
501501.. class :: Protocol
@@ -706,7 +706,7 @@ Special typing primitives
706706 ``default=None `` is passed, and to :data: `NoDefault ` if no value is passed.
707707
708708 Previously, passing ``None `` would result in :attr: `!__default__ ` being set
709- to :py:data : `types.NoneType `, and passing no value for the parameter would
709+ to :py:class : `types.NoneType `, and passing no value for the parameter would
710710 result in :attr: `!__default__ ` being set to ``None ``.
711711
712712 .. versionchanged :: 4.12.0
@@ -737,7 +737,7 @@ Special typing primitives
737737 ``default=None `` is passed, and to :data: `NoDefault ` if no value is passed.
738738
739739 Previously, passing ``None `` would result in :attr: `!__default__ ` being set
740- to :py:data : `types.NoneType `, and passing no value for the parameter would
740+ to :py:class : `types.NoneType `, and passing no value for the parameter would
741741 result in :attr: `!__default__ ` being set to ``None ``.
742742
743743 .. versionchanged :: 4.12.0
@@ -979,7 +979,7 @@ Functions
979979 * Raises :exc: `TypeError ` when it encounters certain objects that are
980980 not valid type hints.
981981 * Replaces type hints that evaluate to :const: `!None ` with
982- :data : `types.NoneType `.
982+ :class : `types.NoneType `.
983983 * Supports the :attr: `Format.FORWARDREF ` and
984984 :attr: `Format.STRING ` formats.
985985
0 commit comments