What exactly are bound methods?

Kylotan kylotan at hotmail.com
Mon Nov 24 03:59:16 CET 2003

Although I see lots of references to them in various documentation, I
can't find a decent explanation of exactly what they are. I'm guessing
that it's a reference to a method that remembers which object it came
from, and that when it's called, it passes that object as the first
parameter (which would conventionally be 'self'). Is this correct?

Ben Sizer

More information about the Python-list mailing list