Fix Python – Line continuation for list comprehensions or generator expressions in python
How are you supposed to break up a very long list comprehension?
[something_that_is_pretty_long for something_that_is_pretty_long in somethings_that_are_pretty_long]
I have also seen somewhere that people that dislike using ‘\’ to break up lines,
but never understood why. What is the reason behind this?