Id of methods

bruno.desthuilliers at gmail.com bruno.desthuilliers at gmail.com
Thu Feb 9 13:59:17 CET 2012


On Feb 9, 5:06 am, Chris Angelico <ros... at gmail.com> wrote:
> On Thu, Feb 9, 2012 at 2:48 PM, Emeka <emekami... at gmail.com> wrote:
>
> > My question is why is it that the id of Boo.daf  is different from daf's hex
> > value in the above dict?
>
>
> daf is not a function, it's a special object for an unbound method.

http://wiki.python.org/moin/FromFunctionToMethod




More information about the Python-list mailing list