From 480c8f4a21765da375a83e35e78a97e885bfc494 Mon Sep 17 00:00:00 2001 From: Ofek Lev Date: Wed, 22 Nov 2023 13:26:45 -0500 Subject: [PATCH] Fix typo in docs (#2344) --- starlette/applications.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/starlette/applications.py b/starlette/applications.py index 89942118..554a25e6 100644 --- a/starlette/applications.py +++ b/starlette/applications.py @@ -37,10 +37,10 @@ class Starlette: `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 + Startup handler callables do not take any arguments, and may be either standard functions, or async functions. * **on_shutdown** - A list of callables to run on application shutdown. - Shutdown handler callables do not take any arguments, and may be be either + Shutdown handler callables do not take any arguments, and may be either standard functions, or async functions. * **lifespan** - A lifespan context function, which can be used to perform startup and shutdown tasks. This is a newer style that replaces the -- 2.47.3