[docs] [issue10994] implementation details in sys module
Terry J. Reedy
report at bugs.python.org
Tue May 24 00:06:58 CEST 2011
Terry J. Reedy <tjreedy at udel.edu> added the comment:
The __sizeof__ special attribute shows up in dir(object) but appears not to be documented other than with
Help on method_descriptor:
__sizeof__() -> size of object in memory, in bytes
Should it have an entry in Lib 4.12. Special Attributes?
A method used by sys.getsizeof.
It should then show up in the index (missing now) and point people to sys.getsizeof. Looking further, I see that it is mentioned but not indexed in the sys.getsizeof entry.
Python tracker <report at bugs.python.org>
More information about the docs