mirror of
https://github.com/python/cpython.git
synced 2025-12-04 16:43:27 +00:00
bpo-38467: Fix argument name of typing functions (GH-16753)
This commit is contained in:
parent
8144095707
commit
fdfe2833ac
1 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue