diff options
author | John Belmonte <john@neggie.net> | 2020-11-22 14:54:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-22 14:54:19 (GMT) |
commit | 5ef53a88f3130cfcf9a9be3abd2ff2f997902647 (patch) | |
tree | dc1a1c6eacfd8164aaef4420a97cdd715b5712e4 /Doc/library/typing.rst | |
parent | 686c203cd4355be5b7809a9d24b4aa3566d9371f (diff) | |
download | cpython-5ef53a88f3130cfcf9a9be3abd2ff2f997902647.zip cpython-5ef53a88f3130cfcf9a9be3abd2ff2f997902647.tar.gz cpython-5ef53a88f3130cfcf9a9be3abd2ff2f997902647.tar.bz2 |
Doc: fix typo in typing.Type docs (GH-23460)
Diffstat (limited to 'Doc/library/typing.rst')
-rw-r--r-- | Doc/library/typing.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 67fd55e..b07bb89 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 <generics>`, 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. |