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

Class InvalidStateError

Lib/concurrent/futures/_base.py:49–51  ·  view source on GitHub ↗

The operation is not allowed in this state.

Source from the content-addressed store, hash-verified

47TimeoutError = TimeoutError # make local alias for the standard exception
48
49class InvalidStateError(Error):
50 """The operation is not allowed in this state."""
51 pass
52
53class _Waiter(object):
54 """Provides the event that wait() and as_completed() block on."""

Callers 2

set_resultMethod · 0.70
set_exceptionMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…