MCPcopy Index your code
hub / github.com/ipython/ipython / reply

Method reply

IPython/terminal/shortcuts/filters.py:195–202  ·  view source on GitHub ↗
(self, event: KeyPressEvent)

Source from the content-addressed store, hash-verified

193 self._is_replying = False
194
195 def reply(self, event: KeyPressEvent):
196 self._is_replying = True
197 try:
198 event.key_processor.reset()
199 event.key_processor.feed_multiple(event.key_sequence)
200 event.key_processor.process_keys()
201 finally:
202 self._is_replying = False
203
204 def __call__(self):
205 return not self._is_replying

Callers 1

resume_hintingFunction · 0.80

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected