HH <henri...@gmail.com> writes:

 > I have a question about best practices when it comes to line
 > wrapping/ continuation and indentation, specifically in the case of
 > an if statement.

There are several good suggestions for formatting but no-one has
mentioned rewriting the code.  Use a boolean variable to hold the
result of the condition and then the if statement is more readable.
-- 
Pete Forman        -./\.-
West Sussex, UK      -./\.-
http://petef.22web.net -./\.-
petef4+use...@gmail.com  -./\.-
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to