Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _force_close
Method
_force_close
Lib/asyncio/sslproto.py:252–255 ·
view source on GitHub ↗
(self, exc)
Source
from the content-addressed store, hash-verified
250
self._force_close(None)
251
252
def
_force_close(self, exc):
253
self._closed = True
254
if
self._ssl_protocol is not None:
255
self._ssl_protocol._abort(exc)
256
257
def
_test__append_write_backlog(self, data):
258
# for test only
Callers
11
abort
Method · 0.95
_check_shutdown_timeout
Method · 0.45
_abort
Method · 0.45
_fatal_error
Method · 0.45
test_force_close
Method · 0.45
test__add_reader
Method · 0.45
test_force_close
Method · 0.45
test_loop_writing_force_close
Method · 0.45
test_force_close_idempotent
Method · 0.45
test_force_close_protocol_connection_lost_once
Method · 0.45
test_fatal_error_2
Method · 0.45
Calls
1
_abort
Method · 0.45
Tested by
7
test_force_close
Method · 0.36
test__add_reader
Method · 0.36
test_force_close
Method · 0.36
test_loop_writing_force_close
Method · 0.36
test_force_close_idempotent
Method · 0.36
test_force_close_protocol_connection_lost_once
Method · 0.36
test_fatal_error_2
Method · 0.36