Add object.__new__

Not entirely sure about the right signature, though.
This commit is contained in:
Jukka Lehtosalo
2015-11-29 12:18:42 -08:00
parent e7f731e74b
commit 4c547fc4f6

View File

@@ -30,6 +30,7 @@ class object:
__class__ = ... # type: type
def __init__(self) -> None: ...
def __new__(cls) -> Any: ...
def __eq__(self, o: object) -> bool: ...
def __ne__(self, o: object) -> bool: ...
def __str__(self) -> str: ...