Commit 815a4bd0 authored by Denis Bilenko's avatar Denis Bilenko

event: improve docstring

parent 934301a1
......@@ -126,7 +126,7 @@ class AsyncResult(object):
>>> result.get()
100
To pass an exception call :meth:`set_exception`. :meth:`get` will raise that exception:
To pass an exception call :meth:`set_exception`. This will cause :meth:`get` to raise that exception:
>>> result = AsyncResult()
>>> result.set_exception(RuntimeError('failure'))
......
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