mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
This reverts commit fed4e03e53.
This commit is contained in:
committed by
Matthias Kramm
parent
1a9685c6ce
commit
16aa0651ae
@@ -24,11 +24,8 @@ class Enum(metaclass=EnumMeta):
|
||||
name = ... # type: str
|
||||
value = ... # type: Any
|
||||
|
||||
_T1 = TypeVar('_T1')
|
||||
|
||||
class IntEnum(int, Enum): # type: ignore
|
||||
class IntEnum(int, Enum):
|
||||
value = ... # type: int
|
||||
def __new__(cls: Type[_T1], value: Any) -> _T1: ...
|
||||
|
||||
def unique(enumeration: _S) -> _S: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user