Add object.__new__ so it can be called.

This commit is contained in:
Guido van Rossum
2016-01-06 15:54:39 -08:00
parent f37bd69266
commit 76b746ba3f

View File

@@ -28,6 +28,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: ...