We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92092f0 commit db9db03Copy full SHA for db9db03
extmod/asyncio/task.py
@@ -192,9 +192,6 @@ def remove_done_callback(self, callback):
192
self.state = True
193
return 1
194
195
- def set_result(self, result):
196
- raise RuntimeError()
197
-
198
def result(self):
199
"""
200
Return the result of the Task.
@@ -216,9 +213,6 @@ def result(self):
216
213
217
214
return self.data.value
218
215
219
- def set_exception(self, exception):
220
221
222
def exception(self):
223
224
Return the exception that was set on this Task.
0 commit comments