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:
Andrey Vlasovskikh
2017-01-26 23:05:53 +03:00
committed by Łukasz Langa
parent 025f31dcc9
commit c8435f4315
5 changed files with 8 additions and 9 deletions

View File

@@ -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: ...