Skip to content

Commit

Permalink
Comment/docstring tweaks for typing.py. (Merge 3.5->3.6)
Browse files Browse the repository at this point in the history
  • Loading branch information
Guido van Rossum committed May 26, 2016
2 parents b69d3fe + b22c708 commit e67c92e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lib/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1579,8 +1579,9 @@ def __new__(cls, *args, **kwds):
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::
Expand Down

0 comments on commit e67c92e

Please sign in to comment.