Fredrik Lundh wrote:
>
> so name them all "func" or "next" or something, so you don't have
> to think. once the object is bound, the name is irrlevant.
>
Or, you could tell him about the reserved word anonymous which can be
used to created unnamed functions of values. A sample definition and
use of the anonymous keyword follows:
def anonymous(text):
return 'modified ' + text
print 'Sample', anonymous('words')
--Scott David Daniels (with his tongue jammed firmly in his cheek)
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list