|
|
|
|
|
by guitarbill
3435 days ago
|
|
I can't tell (might have got lost in the edit), but PEP8 suggests the arguments are more indented than the function body: def very_long_function_name(
arg_one,
arg_two,
arg_three,
arg_four
):
pass
For data structures, I definitely prefer the bracket to be on it's own line, but for function definitions I don't, so I'm also a fan of: def very_long_function_name(
arg_one,
arg_two,
arg_three,
arg_four):
pass
def very_long_function_name(
arg_one, arg_two, arg_three, arg_four):
pass
|
|