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

Method _stop_serving

Lib/asyncio/windows_events.py:819–823  ·  view source on GitHub ↗
(self, obj)

Source from the content-addressed store, hash-verified

817 self._unregistered.clear()
818
819 def _stop_serving(self, obj):
820 # obj is a socket or pipe handle. It will be closed in
821 # BaseProactorEventLoop._stop_serving() which will make any
822 # pending operations fail quickly.
823 self._stopped_serving.add(obj)
824
825 def close(self):
826 if self._iocp is None:

Callers 3

closeMethod · 0.45
test_stop_servingMethod · 0.45

Calls 1

addMethod · 0.45

Tested by 2

test_stop_servingMethod · 0.36