[docs] [issue15436] __sizeof__ is not documented

Meador Inge report at bugs.python.org
Tue Jul 24 17:57:08 CEST 2012

Meador Inge <meadori at gmail.com> added the comment:

It is part of runtime services and is mentioned in the documentation for 'sys.getsizeof' [1]:

getsizeof() calls the object’s __sizeof__ method and adds an additional garbage collector overhead if the object is managed by the garbage collector.

[1] http://docs.python.org/library/sys.html?highlight=__sizeof__#sys.getsizeof.

nosy: +meador.inge

Python tracker <report at bugs.python.org>

More information about the docs mailing list