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

Method get_event

Lib/_pyrepl/console.py:94–98  ·  view source on GitHub ↗

Return an Event instance. Returns None if |block| is false and there is no event pending, otherwise waits for the completion of an event.

(self, block: bool = True)

Source from the content-addressed store, hash-verified

92
93 @abstractmethod
94 def get_event(self, block: bool = True) -> Event | None:
95 """Return an Event instance. Returns None if |block| is false
96 and there is no event pending, otherwise waits for the
97 completion of an event."""
98 ...
99
100 @abstractmethod
101 def push_char(self, char: int | bytes) -> None:

Callers 1

handle1Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected