On 11/12/05, Max Erickson <[EMAIL PROTECTED]> wrote: > > Not in python. > > For example, what would you call the following? > > def rsum(n, m): > print n+m > return n+m > > > In python a method is callable attached to an object. A function is a > callable object constructed with a def statement.
You are right, i was trying to explain the concept outside the objects. PD: I would call your example: a function. Without the return declaration, a routine or a method. -- http://mail.python.org/mailman/listinfo/python-list