Revert "Add __new__ to str and int stubs in both Pythons. (#1352)" (#1466)

This reverts commit fed4e03e53.
This commit is contained in:
Jelle Zijlstra
2017-07-06 14:21:54 -07:00
committed by Matthias Kramm
parent 1a9685c6ce
commit 16aa0651ae
4 changed files with 2 additions and 22 deletions

View File

@@ -16,7 +16,6 @@ class Enum(metaclass=EnumMeta):
name = ... # type: str
value = ... # type: Any
class IntEnum(int, Enum): # type: ignore
def __new__(cls: Type[_T], value: Any) -> _T: ...
class IntEnum(int, Enum): ...
def unique(enumeration: _T) -> _T: ...