functions, classes, bound, unbound?

Bruno Desthuilliers bruno.42.desthuilliers at wtf.websiteburo.oops.com
Mon Mar 26 07:08:01 EDT 2007


7stud a écrit :
>> ...classes don't invoke the function directly, they convert it to
>> an 'unbound method' object::
(snip)
> 
>> If you really want to get to the original function, there are a couple
>> of options.  
> 
> No.  Just trying to figure out how some things work.

Most of Python's object model is documented here:

http://www.python.org/download/releases/2.2.3/descrintro/
http://users.rcn.com/python/download/Descriptor.htm


HTH




More information about the Python-list mailing list