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

Method __bool__

Lib/graphlib.py:152–153  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

150 return self._nfinished < self._npassedout or bool(self._ready_nodes)
151
152 def __bool__(self):
153 return self.is_active()
154
155 def done(self, *nodes):
156 """Marks a set of nodes returned by "get_ready" as processed.

Callers

nothing calls this directly

Calls 1

is_activeMethod · 0.95

Tested by

no test coverage detected