Skip to content

Commit

Permalink
Fix doc annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinche committed Feb 13, 2024
1 parent 21e0b8b commit aa480c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/handlers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit aa480c4

Please sign in to comment.