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

Function is_kill

Lib/_pyrepl/commands.py:95–96  ·  view source on GitHub ↗
(command: type[Command] | None)

Source from the content-addressed store, hash-verified

93
94
95def is_kill(command: type[Command] | None) -> bool:
96 return command is not None and issubclass(command, KillCommand)
97
98
99def is_yank(command: type[Command] | None) -> bool:

Callers 1

kill_rangeMethod · 0.85

Calls 1

issubclassFunction · 0.85

Tested by

no test coverage detected