As per BDFL pronouncement (via private email), be explicit that both styles of

closing brace/bracket/paren indentation shall be allowed.
This commit is contained in:
Barry Warsaw 2013-04-18 20:31:05 -04:00
parent 617d74e66e
commit f1d4e5f985
1 changed files with 25 additions and 0 deletions

View File

@ -100,6 +100,31 @@ Optional::
var_one, var_two,
var_three, var_four)
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',
)
or it may be lined up under the first character of the line that
starts the multi-line construct, as in::
my_list = [
1, 2, 3,
4, 5, 6,
]
result = some_function_that_takes_arguments(
'a', 'b', 'c',
'd', 'e', 'f',
)
Tabs or Spaces?
---------------