5 ms·
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))
by jwilk 8y ago
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))