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 44d46e3 commit d058735Copy full SHA for d058735
Doc/library/typing.rst
@@ -876,6 +876,13 @@ The module defines the following classes, functions and decorators:
876
.. versionchanged:: 3.6.1
877
Added support for default values, methods, and docstrings.
878
879
+.. class:: ForwardRef
880
+
881
+ A class used for internal typing representation of string forward references.
882
+ For example, ``List["SomeClass"]`` is implicitly transformed into
883
+ ``List[ForwardRef("SomeClass")]``. This class should not be instantiated by
884
+ a user, but may be used by introspection tools.
885
886
.. function:: NewType(typ)
887
888
A helper function to indicate a distinct types to a typechecker,
0 commit comments