mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
The value member of an IntEnum object is an int.
This commit is contained in:
@@ -12,7 +12,8 @@ class Enum:
|
||||
name = ... # type: str
|
||||
value = ... # type: Any
|
||||
|
||||
class IntEnum(int, Enum): ...
|
||||
class IntEnum(int, Enum):
|
||||
value = ... # type: int
|
||||
|
||||
_T = TypeVar('_T')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user