Commit d557ba29 authored by Denis Bilenko's avatar Denis Bilenko

fix typo in AsyncResult.put

parent 4cc1ac96
......@@ -171,7 +171,7 @@ class AsyncResult(Event):
def put(self, value):
import warnings
warnings.warn("AsyncResult.put is deprecated; use AsyncResult.set", DeprecationWarning, stacklevel=2)
return self.set(self, value)
return self.set(value)
def put_exception(self, exception):
import warnings
......
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