Message136703
| 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.6616152e-06 |
| Marked as misclassified | No |
| Message-id | <1306188417.88.0.664662926829.issue10994@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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__(...)
__sizeof__() -> size of object in memory, in bytes
Should it have an entry in Lib 4.12. Special Attributes?
object.__sizeof__
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. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2011-05-23 22:06:58 | terry.reedy | set | recipients: + terry.reedy, loewis, brett.cannon, arigo, pitrou, docs@python, lukasz.langa, fijall |
| 2011-05-23 22:06:57 | terry.reedy | set | messageid: <1306188417.88.0.664662926829.issue10994@psf.upfronthosting.co.za> |
| 2011-05-23 22:06:57 | terry.reedy | link | issue10994 messages |
| 2011-05-23 22:06:57 | terry.reedy | create | |