Spaces is slice operator
Open
bug
- Dominant language
- Python
- Stars
- 14k
- Forks
- 904
- PR merge metrics
- No merged PRs in 30d
Description
Isn't this code from readme contradict pip8 about spaces around the slice operator?
def f(a):
return 37 + -+a[42 - x:y *\* 3]
exactly:
https://www.python.org/dev/peps/pep-0008/#pet-peeves Item 3:
No:
ham[lower + offset:upper + offset]
Contributor guide
Assessment
This issue has not been assessed yet.