diff options
Diffstat (limited to 'Lib/keyword.py')
-rwxr-xr-x | Lib/keyword.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/keyword.py b/Lib/keyword.py index a0295e2139..223a88a9de 100755 --- a/Lib/keyword.py +++ b/Lib/keyword.py @@ -63,7 +63,7 @@ def main(): while 1: line = fp.readline() if not line: break - if line.find('{1, "') > -1: + if '{1, "' in line: match = strprog.search(line) if match: lines.append(" '" + match.group(1) + "',\n") |