PEP 8: Clarify variable name in slice (#3128)
This commit is contained in:
parent
6eb6167770
commit
5db5213b9f
|
@ -490,7 +490,7 @@ Avoid extraneous whitespace in the following situations:
|
|||
# Wrong:
|
||||
ham[lower + offset:upper + offset]
|
||||
ham[1: 9], ham[1 :9], ham[1:9 :3]
|
||||
ham[lower : : upper]
|
||||
ham[lower : : step]
|
||||
ham[ : upper]
|
||||
|
||||
- Immediately before the open parenthesis that starts the argument
|
||||
|
|
Loading…
Reference in New Issue