Skip to content

Commit c732660

Browse files
bpo-38467: Fix argument name of typing functions (GH-16753)
(cherry picked from commit fdfe283) Co-authored-by: Sebastian Rittau <[email protected]>
1 parent e742826 commit c732660

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/typing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,8 +1041,8 @@ The module defines the following classes, functions and decorators:
10411041
a dictionary constructed by merging all the ``__annotations__`` along
10421042
``C.__mro__`` in reverse order.
10431043

1044-
.. function:: get_origin(typ)
1045-
.. function:: get_args(typ)
1044+
.. function:: get_origin(tp)
1045+
.. function:: get_args(tp)
10461046

10471047
Provide basic introspection for generic types and special typing forms.
10481048

0 commit comments

Comments
 (0)