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 f863df4 commit 28fecf4Copy full SHA for 28fecf4
1 file changed
src/outcome/_impl.py
@@ -122,6 +122,7 @@ class Outcome(abc.ABC, Generic[ValueT]):
122
hashable.
123
124
"""
125
+
126
@abc.abstractmethod
127
def peek(self) -> ValueT:
128
"""Return or raise the contained value or exception, without
@@ -134,7 +135,6 @@ def peek(self) -> ValueT:
134
135
136
137
-
138
139
def unwrap(self) -> ValueT:
140
"""Return or raise the contained value or exception, and invalidate
0 commit comments