Skip to content

Commit 480c8f4

Browse files
authored
Fix typo in docs (#2344)
1 parent 93494a4 commit 480c8f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

starlette/applications.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ class Starlette:
3737
`handler(request, exc) -> response` and may be either standard functions, or
3838
async functions.
3939
* **on_startup** - A list of callables to run on application startup.
40-
Startup handler callables do not take any arguments, and may be be either
40+
Startup handler callables do not take any arguments, and may be either
4141
standard functions, or async functions.
4242
* **on_shutdown** - A list of callables to run on application shutdown.
43-
Shutdown handler callables do not take any arguments, and may be be either
43+
Shutdown handler callables do not take any arguments, and may be either
4444
standard functions, or async functions.
4545
* **lifespan** - A lifespan context function, which can be used to perform
4646
startup and shutdown tasks. This is a newer style that replaces the

0 commit comments

Comments
 (0)