From 0cc9a5b209760b986ea7cd44c3070237ab5a42c9 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Sun, 13 Oct 2019 20:31:35 +0200 Subject: [PATCH] bpo-38467: Fix argument name of typing functions (GH-16753) (cherry picked from commit fdfe2833ace93021278fe4c41c40e1d08d70abf9) Co-authored-by: Sebastian Rittau --- Doc/library/typing.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 94d60b4602526b..323dac20822010 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.