]> git.ipfire.org Git - thirdparty/starlette.git/commitdiff
docs: fix typo in applications example (#2763)
authorLogan Connolly <logan.connolly@protonmail.com>
Sun, 24 Nov 2024 15:00:32 +0000 (16:00 +0100)
committerGitHub <noreply@github.com>
Sun, 24 Nov 2024 15:00:32 +0000 (16:00 +0100)
docs/applications.md

index b90c20f3209354e11de191151cd989ffe1e8a687..a3be21f7f5c546f172767f457dba67aa2bf69a70 100644 (file)
@@ -27,7 +27,7 @@ async def websocket_endpoint(websocket):
     await websocket.send_text('Hello, websocket!')
     await websocket.close()
 
-@asyncontextmanager
+@asynccontextmanager
 async def lifespan(app):
     print('Startup')
     yield