if, continuation and indentation

2010-05-27 Thread HH
I have a question about best practices when it comes to line wrapping/ continuation and indentation, specifically in the case of an if statement. When I write an if statement with many conditions, I prefer to use a parenthesis around the whole block and get the implicit continuation, rather than e

Re: if, continuation and indentation

2010-05-27 Thread HH
On May 27, 11:37 am, Alain Ketterlin wrote: > HH writes: > >     if (width == 0 and > >         height == 0 and > >         color == 'red' and > >         emphasis == 'strong' or > >         highlight > 100): > >         raise Valu