diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 28c607e149139e..af2cafb8b9969c 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -622,7 +622,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.