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

Method set_result

Lib/asyncio/tasks.py:143–144  ·  view source on GitHub ↗
(self, result)

Source from the content-addressed store, hash-verified

141 self._name = str(value)
142
143 def set_result(self, result):
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')

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
_make_empty_waiterMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected