mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 12:44:33 +08:00
Add object.__new__ so it can be called.
This commit is contained in:
1 parent
f37bd69266
commit
76b746ba3f
1 file changed
+1
@@ -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: ...
|
||||
|
||||
Reference in new issue
Block a user