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

Method poll

Lib/multiprocessing/connection.py:260–264  ·  view source on GitHub ↗

Whether there is any input available to be read

(self, timeout=0.0)

Source from the content-addressed store, hash-verified

258 return _ForkingPickler.loads(buf.getbuffer())
259
260 def poll(self, timeout=0.0):
261 """Whether there is any input available to be read"""
262 self._check_closed()
263 self._check_readable()
264 return self._poll(timeout)
265
266 def __enter__(self):
267 return self

Callers

nothing calls this directly

Calls 3

_check_closedMethod · 0.95
_check_readableMethod · 0.95
_pollMethod · 0.45

Tested by

no test coverage detected