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

(cherry picked from commit fdfe2833ac)

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
This commit is contained in:
Miss Islington (bot) 2019-10-13 11:38:45 -07:00 committed by GitHub
parent e742826531
commit c732660b7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.