News for hackers. Stuff that matters.
Re:Python List Comprehensions Explained Visually by orf on Wednesday December 02, 2015 @06:14PM (#10666596)
> I /ignore/ the normal python syntax

Is it not normal to do that? I always lay out the nested ones, and even single comprehensions if the conditional is complex.

Re:Python List Comprehensions Explained Visually by gary_bernhardt on Wednesday December 02, 2015 @06:24PM (#10666638)
Yes, that's very common formatting (except for the whitespace immediately inside the square brackets, which violates PEP 8, but that's incidental to the question of line breaks).