do python's nifty indentation rules spell the death of one-liners?

Garry Knight garryknight at gmx.net
Thu Apr 17 03:46:57 CEST 2003


Gerhard Häring wrote:

> python -c """
> print 2
> for i in (1, 4):
>     print i
> """

Maybe I didn't completely understand what the OP meant, but this isn't a
one-liner. It's a five-liner.

-- 
Garry Knight
garryknight at gmx.net   ICQ: 126351135
Linux registered user 182025




More information about the Python-list mailing list