From 15d9350eed9437bcb0683e2c24cd4cfbf985ed7e Mon Sep 17 00:00:00 2001 From: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com> Date: Thu, 8 Jun 2023 22:57:37 +0200 Subject: [PATCH] Fix minor typo in Starlette docstring (#2179) --- starlette/applications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/starlette/applications.py b/starlette/applications.py index 013364be..5fc11f95 100644 --- a/starlette/applications.py +++ b/starlette/applications.py @@ -31,7 +31,7 @@ class Starlette: * **exception_handlers** - A mapping of either integer status codes, or exception class types onto callables which handle the exceptions. Exception handler callables should be of the form - `handler(request, exc) -> response` and may be be either standard functions, or + `handler(request, exc) -> response` and may be either standard functions, or async functions. * **on_startup** - A list of callables to run on application startup. Startup handler callables do not take any arguments, and may be be either -- 2.47.3