1
2
3
4
5
6
7
8
9
10
11
>>> class A(object):
...    def b(): pass
...    b.__wrapped__ = "bla"
... 
>>> A.b.__wrapped__
'bla'
>>> A.b
<unbound method A.b>
>>> A.__dict__["b"]
<function b at 0x7f2d6cbf3500>
>>>