On 03/02/2016 12:50 PM, Marko Rauhamaa wrote:
Skip Montanaro queried:Running flake8 over some code which has if statements with multiple conditions like this: if (some_condition and some_other_condition and some_final_condition): play_bingo() [...] is there a better way to break lines I'm missing which will make flake8 happy?This is the idiomatic way: if some_condition and \ some_other_condition and \ some_final_condition: play_bingo()
No, it isn't. Using '\' for line continuation is strongly discouraged. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list
