PEP 8: Clarify variable name in slice (#3128)

This commit is contained in:
CAESIUS_TIM 2023-04-30 22:23:54 +08:00 committed by GitHub
parent 6eb6167770
commit 5db5213b9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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