Add GenericMeta (so that classes can be Generic when they already hav… (#703)

This commit is contained in:
Calen Pennington
2016-12-02 15:09:59 -05:00
committed by Guido van Rossum
parent a2559eeaeb
commit 5ba7abc559
2 changed files with 4 additions and 0 deletions

View File

@@ -14,6 +14,8 @@ Callable = object()
Type = object()
_promote = object()
class GenericMeta(type): ...
# Type aliases
class TypeAlias:

View File

@@ -16,6 +16,8 @@ Type = object()
_promote = object()
no_type_check = object()
class GenericMeta(type): ...
# Type aliases and type constructors
class TypeAlias: