Skip to content

Commit

Permalink
Fix typo in docs (#2344)
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek committed Nov 22, 2023
1 parent 93494a4 commit 480c8f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions starlette/applications.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 480c8f4

Please sign in to comment.