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

Method _close

Lib/asyncio/unix_events.py:613–616  ·  view source on GitHub ↗
(self, exc)

Source from the content-addressed store, hash-verified

611 self._close(exc)
612
613 def _close(self, exc):
614 self._closing = True
615 self._loop._remove_reader(self._fileno)
616 self._loop.call_soon(self._call_connection_lost, exc)
617
618 def _call_connection_lost(self, exc):
619 try:

Callers 2

closeMethod · 0.95
_fatal_errorMethod · 0.95

Calls 2

_remove_readerMethod · 0.45
call_soonMethod · 0.45

Tested by

no test coverage detected