¡@

Home 

python Programming Glossary: c.foo

python bound and unbound method object

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

pydev Class C object def foo self pass cobj C print id C.foo #1 print id cobj.foo #2 a C.foo b cobj.foo print id a #3 print.. self pass cobj C print id C.foo #1 print id cobj.foo #2 a C.foo b cobj.foo print id a #3 print id b #4 and the output is.. 5671672.. the same id aren't they different objects And if we assign C.foo and conj.foo to two variables #3 and #4 return the different..