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

Method done

Lib/test/test_asyncio/test_futures.py:72–75  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

70 return self.__cancelled
71
72 def done(self):
73 return (self.__cancelled
74 or self.__result is not None
75 or self.__exception is not None)
76
77 def result(self):
78 self.assertFalse(self.cancelled())

Callers 15

cancelMethod · 0.95
set_resultMethod · 0.95
set_exceptionMethod · 0.95
__iter__Method · 0.95
get_groupsMethod · 0.45
connection_lostMethod · 0.45
test_initial_stateMethod · 0.45
test_uninitializedMethod · 0.45
test_cancelMethod · 0.45
test_resultMethod · 0.45
test_exceptionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected