tutorial example

Max Erickson maxerickson at gmail.com
Sat Nov 12 08:42:37 EST 2005


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.

max




More information about the Python-list mailing list