[docs] [issue14003] __self__ on built-in functions is not as documented

Éric Araujo report at bugs.python.org
Sat Feb 18 02:22:22 CET 2012


Éric Araujo <merwok at netwok.org> added the comment:

I think that functions in C modules are implemented as methods of module objects, which would explain why len.__self__ is builtins.

----------
nosy: +eric.araujo

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14003>
_______________________________________


More information about the docs mailing list