Python syntax wart
Duncan Booth
duncan.booth at invalid.invalid
Mon Sep 10 04:57:42 EDT 2007
Stefan Behnel <stefan.behnel-n05pAM at web.de> wrote:
> 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.
>
Or make them into a single method/function call. I would post some pseudo-
code replacing the TheProduct conditions with a single call to a
meaningfully named method except I haven't got the faintest idea what it is
trying to achieve.
More information about the Python-list
mailing list