Commit 83f8c331 authored by Denis Bilenko's avatar Denis Bilenko

fix typo in AsyncResult.put_exception

parent d557ba29
......@@ -176,7 +176,7 @@ class AsyncResult(Event):
def put_exception(self, exception):
import warnings
warnings.warn("AsyncResult.put_exception is deprecated; use AsyncResult.set_exception", DeprecationWarning, stacklevel=2)
return self.set_exception(self, exception)
return self.set_exception(exception)
# QQQ add link_value and link_exception here?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment