@@ -255,7 +255,7 @@ Special typing primitives
255
255
256
256
.. data :: NoDefault
257
257
258
- See :py:class : `typing.NoDefault `. In ``typing `` since 3.13.0 .
258
+ See :py:data : `typing.NoDefault `. In ``typing `` since 3.13.
259
259
260
260
.. versionadded :: 4.12.0
261
261
@@ -341,7 +341,9 @@ Special typing primitives
341
341
342
342
.. data :: ReadOnly
343
343
344
- See :pep: `705 `. Indicates that a :class: `TypedDict ` item may not be modified.
344
+ See :py:data: `typing.ReadOnly ` and :pep: `705 `. In ``typing `` since 3.13.
345
+
346
+ Indicates that a :class: `TypedDict ` item may not be modified.
345
347
346
348
.. versionadded :: 4.9.0
347
349
@@ -379,8 +381,9 @@ Special typing primitives
379
381
380
382
.. data :: TypeIs
381
383
382
- See :pep: `742 `. Similar to :data: `TypeGuard `, but allows more type narrowing.
383
- In ``typing `` since 3.13.
384
+ See :py:data: `typing.TypeIs ` and :pep: `742 `. In ``typing `` since 3.13.
385
+
386
+ Similar to :data: `TypeGuard `, but allows more type narrowing.
384
387
385
388
.. versionadded :: 4.10.0
386
389
@@ -843,6 +846,8 @@ Functions
843
846
844
847
.. function :: get_protocol_members(tp)
845
848
849
+ See :py:func: `typing.get_protocol_members `. In ``typing `` since 3.13.
850
+
846
851
Return the set of members defined in a :class: `Protocol `. This works with protocols
847
852
defined using either :class: `typing.Protocol ` or :class: `typing_extensions.Protocol `.
848
853
@@ -878,6 +883,8 @@ Functions
878
883
879
884
.. function :: is_protocol(tp)
880
885
886
+ See :py:func: `typing.is_protocol `. In ``typing `` since 3.13.
887
+
881
888
Determine if a type is a :class: `Protocol `. This works with protocols
882
889
defined using either :py:class: `typing.Protocol ` or :class: `typing_extensions.Protocol `.
883
890
0 commit comments