[issue18412] Minor problem in PEP 8

Xue Fuqiao report at bugs.python.org
Tue Jul 9 12:45:13 CEST 2013


New submission from Xue Fuqiao:

PEP 8 says:

-----------------------------------------------------------------------
|The closing brace/bracket/parenthesis on multi-line constructs may
|either line up under the last item of the list, as in:
|
|my_list = [
|    1, 2, 3,
|    4, 5, 6,
|    ]
|result = some_function_that_takes_arguments(
|    'a', 'b', 'c',
|    'd', 'e', 'f',
|    )
-----------------------------------------------------------------------

I think the code isn't consistent with the description.  See:
http://article.gmane.org/gmane.comp.python.general/737558

----------
messages: 192737
nosy: xfq
priority: normal
severity: normal
status: open
title: Minor problem in PEP 8
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18412>
_______________________________________


More information about the Python-bugs-list mailing list