Allowing comments after the line continuation backslash
ldo at geek-central.gen.new_zealand
Tue Nov 2 04:15:03 CET 2010
In message <mailman.469.1288654964.2218.python-list at python.org>, Chris
> desc_attr_colors_triples = (("normal", "image",
> ("highlighted", "highlight", MainWindow.ColorsHighlightedList),
> ("selected", "select", MainWindow.ColorsSelectedList))
> for in description, attr, color_list in desc_attr_colors_triples:
And so you have managed to separate one set of looping conditions into two
parts. What is the significance of the name “desc_attr_colors_triples”? None
at all. What purpose does it serve? None, really. Does it ease the
maintenance burden? No, but by splitting your attention across two places,
it actually adds to it.
If this is all your PEP-8 can achieve, then a pox on it.
More information about the Python-list