The value member of an IntEnum object is an int.

This commit is contained in:
Guido van Rossum
2016-09-29 09:48:15 -07:00
parent 70cfe793d9
commit 896110fd54

View File

@@ -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')