We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8fc2fe commit b51ce89Copy full SHA for b51ce89
Doc/library/typing.rst
@@ -443,9 +443,9 @@ For example::
443
new_non_team_user(HeroUser) # OK
444
445
new_non_team_user(ManagerUser) # Error: ``type[ManagerUser]`` is not a subtype
446
- # of ``type[BasicUser | ProUser]``
+ # of ``type[BasicUser | ProUser]``
447
new_non_team_user(TeamUser) # Error: ``type[TeamUser]`` is not a subtype
448
449
new_non_team_user(User) # Also an error
450
451
``type[Any]`` is equivalent to :class:`type`, which is the root of Python's
0 commit comments