From: John Belmonte Date: Sun, 22 Nov 2020 14:54:19 +0000 (+0900) Subject: Doc: fix typo in typing.Type docs (GH-23460) X-Git-Tag: v3.10.0a3~108 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ef53a88f3130cfcf9a9be3abd2ff2f997902647;p=thirdparty%2FPython%2Fcpython.git Doc: fix typo in typing.Type docs (GH-23460) --- diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 67fd55e7b8a2..b07bb8943d16 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -641,7 +641,7 @@ These can be used as types in annotations using ``[]``, each having a unique syn :ref:`type variables `, and unions of any of these types. For example:: - def new_non_team_user(user_class: Type[Union[BaseUser, ProUser]]): ... + def new_non_team_user(user_class: Type[Union[BasicUser, ProUser]]): ... ``Type[Any]`` is equivalent to ``Type`` which in turn is equivalent to ``type``, which is the root of Python's metaclass hierarchy.