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 7c934c1 commit e871924Copy full SHA for e871924
effect/test_do.py
@@ -157,6 +157,7 @@ def f():
157
158
@mark.skipif(not six.PY3, reason="Testing a Py3-specific feature")
159
def test_py3_return():
160
+ """The `return x` syntax in Py3 sets the result of the Effect to `x`."""
161
from effect._test_do_py3 import py3_generator_with_return
162
eff = py3_generator_with_return()
163
assert perf(eff) == 2
0 commit comments