mirror of
https://github.com/davidhalter/parso.git
synced 2026-08-12 19:11:34 +08:00
A small change to remove flake8 warnings.
This commit is contained in:
+2
-2
@@ -105,8 +105,8 @@ def _all_string_prefixes():
|
|||||||
for t in _itertools.permutations(prefix):
|
for t in _itertools.permutations(prefix):
|
||||||
# create a list with upper and lower versions of each
|
# create a list with upper and lower versions of each
|
||||||
# character
|
# character
|
||||||
for u in _itertools.product(*[(c, c.upper()) for c in t]):
|
for s in _itertools.product(*[(c, c.upper()) for c in t]):
|
||||||
result.add(''.join(u))
|
result.add(''.join(s))
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def _compile(expr):
|
def _compile(expr):
|
||||||
|
|||||||
Reference in New Issue
Block a user