From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 13 Oct 2019 18:38:45 +0000 (-0700) Subject: bpo-38467: Fix argument name of typing functions (GH-16753) X-Git-Tag: v3.8.0~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c732660b7b18352ba8524ac78d39975afe4392ef;p=thirdparty%2FPython%2Fcpython.git bpo-38467: Fix argument name of typing functions (GH-16753) (cherry picked from commit fdfe2833ace93021278fe4c41c40e1d08d70abf9) Co-authored-by: Sebastian Rittau --- diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 94d60b460252..323dac208220 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.