[Python-checkins] bpo-38467: Fix argument name of typing functions (GH-16753)

Ivan Levkivskyi webhook-mailer at python.org
Sun Oct 13 14:31:39 EDT 2019


https://github.com/python/cpython/commit/fdfe2833ace93021278fe4c41c40e1d08d70abf9
commit: fdfe2833ace93021278fe4c41c40e1d08d70abf9
branch: master
author: Sebastian Rittau <srittau at rittau.biz>
committer: Ivan Levkivskyi <levkivskyi at gmail.com>
date: 2019-10-13T19:31:35+01:00
summary:

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

files:
M Doc/library/typing.rst

diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 94d60b4602526..323dac2082201 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.
 



More information about the Python-checkins mailing list