MCPcopy Index your code
hub / github.com/RustPython/RustPython / _set_state

Function _set_state

Lib/asyncio/futures.py:387–391  ·  view source on GitHub ↗
(future, other)

Source from the content-addressed store, hash-verified

385 dest_loop = _get_loop(destination) if isfuture(destination) else None
386
387 def _set_state(future, other):
388 if isfuture(future):
389 _copy_future_state(other, future)
390 else:
391 _set_concurrent_future_state(future, other)
392
393 def _call_check_cancel(destination):
394 if destination.cancelled():

Callers 1

_call_set_stateFunction · 0.85

Calls 3

isfutureFunction · 0.85
_copy_future_stateFunction · 0.85

Tested by

no test coverage detected