[docs] [issue15436] __sizeof__ is not documented
Martin v. Löwis
report at bugs.python.org
Sun Jul 29 19:31:58 CEST 2012
Martin v. Löwis added the comment:
> I think there is one difference between __len__ and __sizeof__. __sizeof__
> should be overloaded only for C-implemented classes. IMHO, it is a part of C
> API.
That is a reasonable point. So documenting it along with the type slots
might be best.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15436>
_______________________________________
More information about the docs
mailing list