| |
comp.lang.python |
W
> # def defines a method in Python
> def say_hello(name):
> print 'hello', name
> say_hello('Jack')
> say_hello('Jill')
And in this example, say_hello (*yuck*, underscores ...) is certainly a
function. Or is it that functions are considered "module-methods"?