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

Method _stop_accept_futures

Lib/asyncio/proactor_events.py:886–889  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

884 pass
885
886 def _stop_accept_futures(self):
887 for future in self._accept_futures.values():
888 future.cancel()
889 self._accept_futures.clear()
890
891 def _stop_serving(self, sock):
892 future = self._accept_futures.pop(sock.fileno(), None)

Callers 1

closeMethod · 0.95

Calls 3

valuesMethod · 0.45
cancelMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected