type method-wrapper?

Terry Reedy tjreedy at udel.edu
Mon Dec 20 15:33:02 EST 2004


"Thomas Guettler" <guettli at thomas-guettler.de> wrote in message 
news:pan.2004.12.20.15.37.17.121230 at thomas-guettler.de...
Hi,
l=[]
print type(l.__delattr__)
# --> <type 'method-wrapper'>

I didn't find a corresponding type in the modules "types".
Is it missing or am I blind?

(Python 2.3.3)

method_wrapper is an implementation type, not a language type in the same 
way that int, list, function, etc are.  I suspect that there are others 
'missing' from the types module that you have not discovered yet.

Terry J. Reedy






More information about the Python-list mailing list