MCPcopy Index your code
hub / github.com/python/cpython / replace_it

Method replace_it

Lib/idlelib/replace.py:90–96  ·  view source on GitHub ↗

Handle the Replace button. If the find is successful, then perform replace.

(self, event=None)

Source from the content-addressed store, hash-verified

88 self.do_find(False)
89
90 def replace_it(self, event=None):
91 """Handle the Replace button.
92
93 If the find is successful, then perform replace.
94 """
95 if self.do_find(self.ok):
96 self.do_replace()
97
98 def default_command(self, event=None):
99 """Handle the Replace+Find button as the default command.

Callers

nothing calls this directly

Calls 2

do_findMethod · 0.95
do_replaceMethod · 0.95

Tested by

no test coverage detected