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

Method _abort

Lib/asyncio/sslproto.py:671–674  ·  view source on GitHub ↗
(self, exc)

Source from the content-addressed store, hash-verified

669 self._loop.call_soon(self._transport.close)
670
671 def _abort(self, exc):
672 self._set_state(SSLProtocolState.UNWRAPPED)
673 if self._transport is not None:
674 self._transport._force_close(exc)
675
676 # Outgoing flow
677

Callers 2

_start_shutdownMethod · 0.95
_force_closeMethod · 0.45

Calls 2

_set_stateMethod · 0.95
_force_closeMethod · 0.45

Tested by

no test coverage detected