MCPcopy Index your code
hub / github.com/RustPython/RustPython / after_command

Method after_command

Lib/_pyrepl/reader.py:624–629  ·  view source on GitHub ↗

This function is called to allow post command cleanup.

(self, cmd: Command)

Source from the content-addressed store, hash-verified

622 self.console.move_cursor(*self.cxy)
623
624 def after_command(self, cmd: Command) -> None:
625 """This function is called to allow post command cleanup."""
626 if getattr(cmd, "kills_digit_arg", True):
627 if self.arg is not None:
628 self.dirty = True
629 self.arg = None
630
631 def prepare(self) -> None:
632 """Get ready to run. Call restore when finished. You must not

Callers 1

do_cmdMethod · 0.95

Calls 1

getattrFunction · 0.85

Tested by

no test coverage detected