diff options
Diffstat (limited to 'Lib/idlelib/searchengine.py')
-rw-r--r-- | Lib/idlelib/searchengine.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/searchengine.py b/Lib/idlelib/searchengine.py index eddef581ab..0684142f43 100644 --- a/Lib/idlelib/searchengine.py +++ b/Lib/idlelib/searchengine.py @@ -165,7 +165,7 @@ class SearchEngine: wrapped = 0 startline = line chars = text.get("%d.0" % line, "%d.0" % (line+1)) - while 1: + while True: m = search_reverse(prog, chars[:-1], col) if m: if ok or m.start() < col: |