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

Method get_event

Lib/_pyrepl/console.py:96–100  ·  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

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

Callers 1

handle1Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected