We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Result
OkErr
1 parent 1dd8dd4 commit 16f0443Copy full SHA for 16f0443
MIGRATING.md
@@ -22,7 +22,7 @@ res2 = Err('nay')
22
```
23
24
2\. Result is now a Union type between `Ok[T]` and `Err[E]`. As such, you cannot use `isinstance(res, Result)` anymore.
25
-These should be replaced by `isinstance(res, Result)`. As an example, the following code:
+These should be replaced by `isinstance(res, OkErr)`. As an example, the following code:
26
27
```python
28
from result import Ok, Result
0 commit comments