Skip to content

Commit 54aa342

Browse files
committed
docstring used old class name
1 parent 3e4ae1c commit 54aa342

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/outcome/_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def unwrap(self):
5454
These two lines of code are equivalent::
5555
5656
x = fn(*args)
57-
x = Result.capture(fn, *args).unwrap()
57+
x = outcome.capture(fn, *args).unwrap()
5858
5959
"""
6060

0 commit comments

Comments
 (0)