commit | b22c708989f8a8e155939b8938b67d3f6afafb45 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu May 26 09:56:19 2016 -0700 |
committer | Guido van Rossum <guido@python.org> | Thu May 26 09:56:19 2016 -0700 |
tree | b3415f51dba5801ab0db10f7f6e79a3fbf3f1f0d | |
parent | 0025eb145fb4e66c9faad696a0e1033d0a1c3375 [diff] [blame] |
Comment/docstring tweaks for typing.py.
diff --git a/Lib/typing.py b/Lib/typing.py index 4bd2135..b7f3ffa 100644 --- a/Lib/typing.py +++ b/Lib/typing.py
@@ -1579,8 +1579,9 @@ CT = TypeVar('CT', covariant=True, bound=type) +# This is not a real generic class. Don't use outside annotations. class Type(type, Generic[CT], extra=type): - """A generic type usable to annotate class objects. + """A special construct usable to annotate class objects. For example, suppose we have the following classes::