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

Method default_command

Lib/idlelib/search.py:71–75  ·  view source on GitHub ↗

Handle the Find Next button as the default command.

(self, event=None)

Source from the content-addressed store, hash-verified

69 self.make_button("Find Next", self.default_command, isdef=True)
70
71 def default_command(self, event=None):
72 "Handle the Find Next button as the default command."
73 if not self.engine.getprog():
74 return
75 self.find_again(self.text)
76
77 def find_again(self, text):
78 """Repeat the last search.

Callers

nothing calls this directly

Calls 2

find_againMethod · 0.95
getprogMethod · 0.80

Tested by

no test coverage detected