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

Method set_exception

Lib/asyncio/tasks.py:146–147  ·  view source on GitHub ↗
(self, exception)

Source from the content-addressed store, hash-verified

144 raise RuntimeError('Task does not support set_result operation')
145
146 def set_exception(self, exception):
147 raise RuntimeError('Task does not support set_exception operation')
148
149 def get_stack(self, *, limit=None):
150 """Return the list of stack frames for this task's coroutine.

Callers 15

_sock_recvMethod · 0.45
_sock_recv_intoMethod · 0.45
_sock_recvfromMethod · 0.45
_sock_recvfrom_intoMethod · 0.45
_sock_sendallMethod · 0.45
_sock_sendtoMethod · 0.45
_sock_connectMethod · 0.45
_sock_connect_cbMethod · 0.45
_sock_acceptMethod · 0.45
_write_sendmsgMethod · 0.45
_write_sendMethod · 0.45
_call_connection_lostMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected