why only one ":" in a line ... ?
python at rcn.com
Mon Aug 19 17:37:10 CEST 2002
"Andreas Leitgeb" <Andreas.Leitgeb at siemens.at> wrote in message
> Why can't I squeeze certain constructs in a single line ?
> I don't want to discuss the worth of putting something in one line,
> what I could also break up into more lines. It's just that for
> some blocks, I as a programmer would prefer them in one line.
At first, it's frustrating that Python is not C. Then, you get used to it.
Then, you grow to love it.
More information about the Python-list