A Suggestion for Python Colon Syntax

Jay O'Connor joconnor at cybermesa.com
Thu Dec 21 14:57:33 EST 2000


>It is really useful (needed) if you wanted to write 2 statements on 1
>line.  I don't know why that would be needed, but . . .

This is useful for small anonymous functions such as used for filter()
and map().

Take care,
-- 
Jay O'Connor
joconnor at cybermesa.com
http://www.cybermesa.com/~joconnor

"God himself plays the bass strings first when He tunes the soul"




More information about the Python-list mailing list