From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 22 Nov 2020 15:12:20 +0000 (-0800) Subject: Doc: fix typo in typing.Type docs (GH-23460) X-Git-Tag: v3.8.7rc1~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=734d6d9dfe520741ef2374245b75b84a9ee67748;p=thirdparty%2FPython%2Fcpython.git Doc: fix typo in typing.Type docs (GH-23460) (cherry picked from commit 5ef53a88f3130cfcf9a9be3abd2ff2f997902647) Co-authored-by: John Belmonte --- diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 351c0bee75c8..8c179ff79d15 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -570,7 +570,7 @@ The module defines the following classes, functions and decorators: :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.