Python syntax wart

Stefan Behnel stefan.behnel-n05pAM at web.de
Mon Sep 10 04:37:13 EDT 2007


Lawrence D'Oliveiro wrote:
> In message <5kkcmvF3vfqqU3 at mid.uni-berlin.de>, Marc 'BlackJack' Rintsch
> wrote:
>> And this is also easily written that way in Python if you don't insist on
>> the line break after the ``if`` or can live with backslashes.
> 
> Which is precisely the point.

This actually sounds somewhat pointless to me. If complex things don't fit
into one line, a good way to deal with it is not to insist on making them a
single statement.

Stefan



More information about the Python-list mailing list