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 d727450 commit d0b8f2cCopy full SHA for d0b8f2c
src/outcome/_impl.py
@@ -14,7 +14,6 @@ def capture(sync_fn, *args, **kwargs):
14
Either a :class:`Value` or :class:`Error` as appropriate.
15
16
"""
17
- # _sync.capture references ErrorBase and ValueBase
18
try:
19
return Value(sync_fn(*args, **kwargs))
20
except BaseException as exc:
0 commit comments