3 ms·
> My reading of README.md is that Black inserts spaces around the colon, is that right? I can't speak for the readme, but: $ cat test.py x = [1,2,3]
by Shish2k 8y ago
> My reading of README.md is that Black inserts spaces around the colon, is that right?
I can't speak for the readme, but:
$ cat test.py
x = [1,2,3]
print(x[1: 3])
$ black test.py
reformatted test.py
$ cat test.py
x = [1, 2, 3]
print(x[1:3])
- zestyping 8y agoOh, I must have misunderstood. Sorry! I take back my issue with the slices, then.