Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
comment
  • Loading branch information
Wulian233 authored Jul 29, 2024
commit c4b39e465bdbb4d90a0a7f876d7e6b8736d62f05
8 changes: 4 additions & 4 deletions Lib/idlelib/replace.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ def find_it(self, event=None):
self.do_find(False)

def replace_it(self, event=None):
"""Handle the Replace button.
"""Only used in test case

If the find is successful, then perform replace.
"""
if self.do_find(self.ok):
If the find is successful, then perform replace.
"""
if self.do_find(self.ok):
self.do_replace()

def default_command(self, event=None):
Expand Down