jfj <[EMAIL PROTECTED]> wrote: > If I say: > > x=b.foo > x(1) > > Then, without looking at the previous code, one can say that "x" is a > function which takes one argument.
One can say whatever one wishes, but saying it does not make it true. One can say that x is a green frog, but that's false: x is a boundmethod. One can say that x is a function, but that's false: x is a boundmethod. One can say that x is a spade, but that's false: x is a boundmethod. You can call green frogs (with a suitable whistling), you can call functions, and you can call a spade (a spade). The fact that they're all callable (since you can call them), and a boundmethod is also callable, does not necessarily make them equivalent to each other, nor any of them equivalent to a boundmethod, in any other way whatsoever. Alex -- http://mail.python.org/mailman/listinfo/python-list