Skip to content

Commit c8a48c6

Browse files
[3.8] bpo-41824: Add versionadded for typing.ForwardRef docs (#24224) (#24494)
1 parent 920bf6a commit c8a48c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/library/typing.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1020,6 +1020,8 @@ The module defines the following classes, functions and decorators:
10201020
``List[ForwardRef("SomeClass")]``. This class should not be instantiated by
10211021
a user, but may be used by introspection tools.
10221022

1023+
.. versionadded:: 3.7.4
1024+
10231025
.. function:: NewType(name, tp)
10241026

10251027
A helper function to indicate a distinct type to a typechecker,

0 commit comments

Comments
 (0)