[lang-ref] ( allow_trailing_comma_in_parameter_list ) ( python )
def test_allow_trailing_comma_in_parameter_list():
# Yes
def func1(
a,
b,
c, # <- here
):
return a + b + c
x = func1(
1,
2,
3, # <- and here
)
assert x == 6