diff options
author | Sebastian Rittau <srittau@rittau.biz> | 2019-10-13 20:31:35 +0200 |
---|---|---|
committer | Ivan Levkivskyi <levkivskyi@gmail.com> | 2019-10-13 19:31:35 +0100 |
commit | fdfe2833ace93021278fe4c41c40e1d08d70abf9 (patch) | |
tree | f9fc632c73af6db38c72bb460abce3aeef59148e | |
parent | 8144095707f87bdee6f3e1bbb15283ea61381be6 (diff) | |
download | cpython-git-fdfe2833ace93021278fe4c41c40e1d08d70abf9.tar.gz |
bpo-38467: Fix argument name of typing functions (GH-16753)
-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 94d60b4602..323dac2082 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. |