[Python-ideas] Minor tweak to PEP 8?

Carl M. Johnson cmjohnson.mailinglist at gmail.com
Wed May 11 05:19:29 CEST 2011


Can we all at least agree that continuation lines should always be at least
one space more indented than the parent line? So, for example, this would be
right out:

for item in items:
    modified_item = self.frobincation_with_spengulizer(
item,
True,
False,
spam=None)

The arguments should at least line up with the o in modified, if not the f.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20110510/b8523ebf/attachment.html>


More information about the Python-ideas mailing list