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

Method result

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

Source from the content-addressed store, hash-verified

75 or self.__exception is not None)
76
77 def result(self):
78 self.assertFalse(self.cancelled())
79 if self.__exception is not None:
80 raise self.__exception
81 return self.__result
82
83 def exception(self):
84 self.assertFalse(self.cancelled())

Calls 2

cancelledMethod · 0.95
assertFalseMethod · 0.80

Tested by

no test coverage detected