This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients arigo, brett.cannon, docs@python, fijall, loewis, lukasz.langa, pitrou, terry.reedy
Date 2011-05-23.22:06:57
SpamBayes Score 1.66162e-06
Marked as misclassified No
Message-id <>
The __sizeof__ special attribute shows up in dir(object) but appears not to be documented other than with

>>> help(object.__sizeof__)
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.
Date User Action Args
2011-05-23 22:06:58terry.reedysetrecipients: + terry.reedy, loewis, brett.cannon, arigo, pitrou, docs@python, lukasz.langa, fijall
2011-05-23 22:06:57terry.reedysetmessageid: <>
2011-05-23 22:06:57terry.reedylinkissue10994 messages
2011-05-23 22:06:57terry.reedycreate