3 ms·
> As for python, some fancy list comprehensions get rather long rather quickly. Sure, and we all know that indentation in Python is not allowed for list compre
by dozzie 10y ago
> As for python, some fancy list comprehensions get rather long rather quickly.
Sure, and we all know that indentation in Python is not allowed for list
comprehensions.
class Foo:
# ...
def bar():
# ...
if baz:
# ...
result = [
y.strip()[1:14].replace("this", "that")
for x in nabla.generate(q, w, y, z)
for y in x.something_other()
if y.has_property(...)
]