diff options
author | Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> | 2021-02-09 16:55:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-09 16:55:45 (GMT) |
commit | c8a48c6d0417cc8f256a40142962825febdc2e20 (patch) | |
tree | b3c7c0234cf801414a27f7208c4c5a57ce37ce3c /Doc/library | |
parent | 920bf6a3a656e329c2bcbb761eb8c13c46c8cd05 (diff) | |
download | cpython-c8a48c6d0417cc8f256a40142962825febdc2e20.zip cpython-c8a48c6d0417cc8f256a40142962825febdc2e20.tar.gz cpython-c8a48c6d0417cc8f256a40142962825febdc2e20.tar.bz2 |
[3.8] bpo-41824: Add versionadded for typing.ForwardRef docs (#24224) (#24494)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/typing.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 8c179ff..046f5e0 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -1020,6 +1020,8 @@ The module defines the following classes, functions and decorators: ``List[ForwardRef("SomeClass")]``. This class should not be instantiated by a user, but may be used by introspection tools. + .. versionadded:: 3.7.4 + .. function:: NewType(name, tp) A helper function to indicate a distinct type to a typechecker, |