mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Added object.__sizeof__ (#865)
* Added object.__sizeof__ * Removed __sizeof__ inherited from object * Made sqlite3 classes for Python 2 inherit from object * Removed __sizeof__ inherited from object
This commit is contained in:
committed by
Łukasz Langa
parent
025f31dcc9
commit
c8435f4315
@@ -46,6 +46,7 @@ class object:
|
||||
def __format__(self, format_spec: str) -> str: ...
|
||||
def __getattribute__(self, name: str) -> Any: ...
|
||||
def __delattr__(self, name: str) -> None: ...
|
||||
def __sizeof__(self) -> int: ...
|
||||
|
||||
if sys.version_info >= (3, 6):
|
||||
def __init_subclass__(cls) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user