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 <rep...@bugs.python.org> <http://bugs.python.org/issue15436> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com