From 92610745a39bdb2d1acdf1e3436656dfed55d941 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Mon, 18 May 2026 10:53:55 +0300 Subject: [PATCH] Fix typo in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6d05c28..fdfb43b 100644 --- a/README.md +++ b/README.md @@ -305,7 +305,7 @@ def read_file(path: str) -> str: return f.read() -reveal_type(read_file): # Revealed type is: Callable[[str], Try[FileNotFoundError | PermissionError, str]] +reveal_type(read_file) # Revealed type is: Callable[[str], Try[FileNotFoundError | PermissionError, str]] ``` Error handling in `stateless` is done using the `stateless.catch` decorator. Its signature is: