¡@

Home 

python Programming Glossary: c.__dict__

python bound and unbound method object

http://stackoverflow.com/questions/13348031/python-bound-and-unbound-method-object

... def foo self ... pass ... C.foo unbound method C.foo C.__dict__ 'foo' function foo at 0x1088cc488 C.__dict__ 'foo' .__get__.. method C.foo C.__dict__ 'foo' function foo at 0x1088cc488 C.__dict__ 'foo' .__get__ None C unbound method C.foo C.__dict__ 'foo'.. C.__dict__ 'foo' .__get__ None C unbound method C.foo C.__dict__ 'foo' .__get__ C C bound method C.foo of __main__.C object at..

Why can't I inherit from dict AND Exception in Python?

http://stackoverflow.com/questions/309129/why-cant-i-inherit-from-dict-and-exception-in-python

the follwing way class C object pass ... '__module__' in C.__dict__ True '__module__' in dict.__dict__ False '__module__' in Exception.__dict__..