homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Minor problem in PEP 8
Type: enhancement Stage:
Components: Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: barry, docs@python, xfq
Priority: low Keywords:

Created on 2013年07月09日 10:45 by xfq, last changed 2022年04月11日 14:57 by admin. This issue is now closed.

Messages (2)
msg192737 - (view) Author: Fuqiao Xue (xfq) Date: 2013年07月09日 10:45
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 
msg192750 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2013年07月09日 13:27
I clarified the wording.
History
Date User Action Args
2022年04月11日 14:57:47adminsetgithub: 62612
2013年07月09日 13:27:51barrysetstatus: open -> closed

nosy: + barry
messages: + msg192750

resolution: fixed
2013年07月09日 11:37:13christian.heimessetpriority: normal -> low
assignee: docs@python

nosy: + docs@python
2013年07月09日 10:45:13xfqcreate

AltStyle によって変換されたページ (->オリジナル) /