bpo-38467: Fix argument name of typing functions (GH-16753)

This commit is contained in:
Sebastian Rittau 2019-10-13 20:31:35 +02:00 committed by Ivan Levkivskyi
parent 8144095707
commit fdfe2833ac
1 changed files with 2 additions and 2 deletions

View File

@ -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.