From aa480c48d582c074cb7224ae7afbdce427556c9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tin=20Tvrtkovi=C4=87?= Date: Tue, 13 Feb 2024 20:13:24 +0000 Subject: [PATCH] Fix doc annotation --- docs/handlers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/handlers.md b/docs/handlers.md index ad37bb1..e284db1 100644 --- a/docs/handlers.md +++ b/docs/handlers.md @@ -160,7 +160,7 @@ from uapi.status import BadRequest T = TypeVar("T") -def make_error_response(exc: Exception, bytes: payload) -> BadRequest[None]: +def make_error_response(exc: Exception, payload: bytes) -> BadRequest[None]: # Examine the exception. return BadRequest("Bad payload buddy")