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

Method exception

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

Source from the content-addressed store, hash-verified

81 return self.__result
82
83 def exception(self):
84 self.assertFalse(self.cancelled())
85 return self.__exception
86
87 def set_result(self, result):
88 self.assertFalse(self.done())

Calls 2

cancelledMethod · 0.95
assertFalseMethod · 0.80

Tested by

no test coverage detected