diff options
Diffstat (limited to 'Doc/library/typing.rst')
-rw-r--r-- | Doc/library/typing.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 94d60b4..323dac2 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -1041,8 +1041,8 @@ The module defines the following classes, functions and decorators: a dictionary constructed by merging all the ``__annotations__`` along ``C.__mro__`` in reverse order. -.. function:: get_origin(typ) -.. function:: get_args(typ) +.. function:: get_origin(tp) +.. function:: get_args(tp) Provide basic introspection for generic types and special typing forms. |