confused about the different built-in functions in Python
Marko Rauhamaa
marko at pacujo.net
Mon May 26 16:32:40 EDT 2014
Christian Heimes <christian at python.org>:
> Python creates a new bound method object every time. A bound method
> object is a callable object that keeps a strong reference to the
> function, class and object. The bound method object adds the object as
> first argument to the function (aka 'self').
I stand corrected. I had thought the trampoline ("bound method object")
was created once and for all.
Marko
More information about the Python-list
mailing list