News for hackers. Stuff that matters.
Re:Black: An uncompromising Python code formatter by jwilk on Saturday May 26, 2018 @06:02AM (#17161210)
m[a+1:b] and f(x=y+1) are weird corner cases of Python formatting.

I usually avoid this problem by adding extra parentheses:

  m[(a + 1):b]
  f(x=(y + 1))

There are no comments on this comment yet.