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

Method wait

Lib/_pyrepl/console.py:141–145  ·  view source on GitHub ↗

Wait for an event. The return value is True if an event is available, False if the timeout has been reached. If timeout is None, wait forever. The timeout is in milliseconds.

(self, timeout: float | None)

Source from the content-addressed store, hash-verified

139
140 @abstractmethod
141 def wait(self, timeout: float | None) -> bool:
142 """Wait for an event. The return value is True if an event is
143 available, False if the timeout has been reached. If timeout is
144 None, wait forever. The timeout is in milliseconds."""
145 ...
146
147 @property
148 def input_hook(self) -> Callable[[], int] | None:

Callers 1

handle1Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected