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

Method do

Lib/_pyrepl/historical_reader.py:160–166  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

158
159class isearch_cancel(commands.Command):
160 def do(self) -> None:
161 r = self.reader
162 r.isearch_direction = ISEARCH_DIRECTION_NONE
163 r.pop_input_trans()
164 r.select_item(r.isearch_start[0])
165 r.pos = r.isearch_start[1]
166 r.dirty = True
167
168
169class isearch_add_character(commands.Command):

Callers

nothing calls this directly

Calls 2

pop_input_transMethod · 0.80
select_itemMethod · 0.45

Tested by

no test coverage detected