Skip to content

Commit 6427cf4

Browse files
committed
Comment/docstring tweaks for typing.py.
1 parent c720957 commit 6427cf4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/typing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1579,8 +1579,9 @@ def __new__(cls, *args, **kwds):
15791579
CT = TypeVar('CT', covariant=True, bound=type)
15801580

15811581

1582+
# This is not a real generic class. Don't use outside annotations.
15821583
class Type(type, Generic[CT], extra=type):
1583-
"""A generic type usable to annotate class objects.
1584+
"""A special construct usable to annotate class objects.
15841585
15851586
For example, suppose we have the following classes::
15861587

0 commit comments

Comments
 (0)