mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 13:05:14 +08:00
Add object.__new__
Not entirely sure about the right signature, though.
This commit is contained in:
1 parent
e7f731e74b
commit
4c547fc4f6
1 file changed
+1
@@ -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: ...
|
||||
|
||||
Reference in new issue
Block a user