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

Method after_command

Lib/_pyrepl/reader.py:581–586  ·  view source on GitHub ↗

This function is called to allow post command cleanup.

(self, cmd: Command)

Source from the content-addressed store, hash-verified

579 self.console.move_cursor(*self.cxy)
580
581 def after_command(self, cmd: Command) -> None:
582 """This function is called to allow post command cleanup."""
583 if getattr(cmd, "kills_digit_arg", True):
584 if self.arg is not None:
585 self.dirty = True
586 self.arg = None
587
588 def prepare(self) -> None:
589 """Get ready to run. Call restore when finished. You must not

Callers 1

do_cmdMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected