Skip to content
Snippets Groups Projects
Unverified Commit 734d6d9d authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub
Browse files

Doc: fix typo in typing.Type docs (GH-23460)


(cherry picked from commit 5ef53a88)

Co-authored-by: default avatarJohn Belmonte <john@neggie.net>
parent 2528a7db
No related branches found
No related tags found
No related merge requests found
......@@ -570,7 +570,7 @@ The module defines the following classes, functions and decorators:
: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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment