Serhiy Storchaka added the comment:

The description looks correct to me. Note that it says about class methods.

>>> class A:
...     @classmethod
...     def f(cls): pass
... 
>>> a = A()
>>> A.f
<bound method A.f of <class '__main__.A'>>
>>> A.f.__self__
<class '__main__.A'>
>>> a.f
<bound method A.f of <class '__main__.A'>>
>>> a.f.__self__
<class '__main__.A'>

----------
nosy: +serhiy.storchaka
resolution:  -> not a bug
stage:  -> resolved

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29032>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to