]> granicus.if.org Git - python/commitdiff
bpo-38467: Fix argument name of typing functions (GH-16753)
authorSebastian Rittau <srittau@rittau.biz>
Sun, 13 Oct 2019 18:31:35 +0000 (20:31 +0200)
committerIvan Levkivskyi <levkivskyi@gmail.com>
Sun, 13 Oct 2019 18:31:35 +0000 (19:31 +0100)
Doc/library/typing.rst

index 94d60b4602526bd3dcbc2a93d6ed64b506593f0c..323dac20822010bd87065b9c5aac0dd137043c0b 100644 (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.