Skip to content

Commit eedf369

Browse files
authored
fix(comment typo): (#959)
Thanks!
1 parent 519f575 commit eedf369

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

starlette/routing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None:
572572
if partial is not None:
573573
#  Handle partial matches. These are cases where an endpoint is
574574
# able to handle the request, but is not a preferred option.
575-
# We use this in particular to deal with "406 Method Not Found".
575+
# We use this in particular to deal with "405 Method Not Allowed".
576576
scope.update(partial_scope)
577577
await partial.handle(scope, receive, send)
578578
return

0 commit comments

Comments
 (0)