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

Class Command

Lib/_pyrepl/commands.py:40–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39
40class Command:
41 finish: bool = False
42 kills_digit_arg: bool = True
43
44 def __init__(
45 self, reader: HistoricalReader, event_name: str, event: list[str]
46 ) -> None:
47 # Reader should really be "any reader" but there's too much usage of
48 # HistoricalReader methods and fields in the code below for us to
49 # refactor at the moment.
50
51 self.reader = reader
52 self.event = event
53 self.event_name = event_name
54
55 def do(self) -> None:
56 pass
57
58
59class KillCommand(Command):

Callers 1

parse_argsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected