Re:Black: An uncompromising Python code formatter
by ambivalence on Friday May 25, 2018 @08:29PM
(#17159319)
Yeah, call side was fixed in 3.5 but I don't split hairs here. I consider it either 3.6+ or don't put trailing commas after neither signatures nor calls with stars.
BTW, your signature doesn't demonstrate a call with unpacking. What you meant to test was:
BTW, your signature doesn't demonstrate a call with unpacking. What you meant to test was:
l = [1, 2, 3] foo(0, *l,)
This works in 3.5+ but fails on 3.4 and before.