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

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

No files matched your search

+1 -2
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: ...