diff options
Diffstat (limited to 'Lib/idlelib/search.py')
-rw-r--r-- | Lib/idlelib/search.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/search.py b/Lib/idlelib/search.py index 4c2acef7b0..508a35c3f1 100644 --- a/Lib/idlelib/search.py +++ b/Lib/idlelib/search.py @@ -51,7 +51,7 @@ class SearchDialog(SearchDialogBase): selfirst = text.index("sel.first") sellast = text.index("sel.last") if selfirst == first and sellast == last: - text.bell() + self.bell() return False except TclError: pass @@ -61,7 +61,7 @@ class SearchDialog(SearchDialogBase): text.see("insert") return True else: - text.bell() + self.bell() return False def find_selection(self, text): |