[RFC] Indentation / import rules
aaron.bentley at utoronto.ca
Mon Jul 24 15:54:01 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
John Arbash Meinel wrote:
> I read through PEP8, and I see a few places we could use some updates. I
> recommend everyone read it again. But it doesn't cover this usage.
I'm not sure I agree with that. Although PEP8 describes imports, it
also describes long-line handling:
The preferred way of wrapping long lines is by using Python's implied
line continuation inside parentheses, brackets and braces.
The examples it gives would favour:
from bzrlib import (bar, foo, baz,
But I'll go along with whatever people want to do.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the bazaar