mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
Add GenericMeta (so that classes can be Generic when they already hav… (#703)
This commit is contained in:
committed by
Guido van Rossum
parent
a2559eeaeb
commit
5ba7abc559
@@ -14,6 +14,8 @@ Callable = object()
|
||||
Type = object()
|
||||
_promote = object()
|
||||
|
||||
class GenericMeta(type): ...
|
||||
|
||||
# Type aliases
|
||||
|
||||
class TypeAlias:
|
||||
|
||||
@@ -16,6 +16,8 @@ Type = object()
|
||||
_promote = object()
|
||||
no_type_check = object()
|
||||
|
||||
class GenericMeta(type): ...
|
||||
|
||||
# Type aliases and type constructors
|
||||
|
||||
class TypeAlias:
|
||||
|
||||
Reference in New Issue
Block a user