class objects, method objects, function objects

Fredrik Lundh fredrik at pythonware.com
Tue Mar 20 11:03:53 EDT 2007


Dennis Lee Bieber wrote:

> "it(the" -- argument list, not the object -- ") is unpacked again

no, "it" refers to the bound method object, as 7stud would have realized if
he'd read the entire paragraph.  here's the relevant portion:

   /.../ a method object is created by packing (pointers to) the instance object
   and the function object just found together in an abstract object: this is the
   method object. When the method object is called with an argument list, it
   is unpacked again /.../

</F> 






More information about the Python-list mailing list