From d8e991c39f6d583304bb095972d5c2041ca0c4f9 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Fri, 26 May 2017 11:51:00 -0400 Subject: [PATCH] A small change to remove flake8 warnings. --- parso/tokenize.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parso/tokenize.py b/parso/tokenize.py index c869ea5..ef988b0 100644 --- a/parso/tokenize.py +++ b/parso/tokenize.py @@ -105,8 +105,8 @@ def _all_string_prefixes(): for t in _itertools.permutations(prefix): # create a list with upper and lower versions of each # character - for u in _itertools.product(*[(c, c.upper()) for c in t]): - result.add(''.join(u)) + for s in _itertools.product(*[(c, c.upper()) for c in t]): + result.add(''.join(s)) return result def _compile(expr):