PEP 8: try to better explain a somewhat cryptic guideline

This commit is contained in:
Nick Coghlan 2014-08-17 10:41:13 +10:00
parent 1eb3bdaecd
commit a240f27644
1 changed files with 6 additions and 3 deletions

View File

@ -121,9 +121,12 @@ Optional::
var_one, var_two, var_one, var_two,
var_three, var_four) var_three, var_four)
This PEP explicitly takes no position on how or whether to further This PEP explicitly takes no position on how (or whether) to further
visually distinguish continuation lines after multi-line ``if`` visually distinguish continuation lines in the header from the nested suite
statements. Some acceptable options include:: in an ``if`` statement, where the combination of a two character keyword, a
single space and an opening parenthesis creates a natural 4-space indent for
the expression in the header. Some acceptable options in this situation
include::
# No extra indentation. # No extra indentation.
if (this if (this