From: Logan Connolly Date: Sun, 24 Nov 2024 15:00:32 +0000 (+0100) Subject: docs: fix typo in applications example (#2763) X-Git-Tag: 0.42.0~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=009a3bab62c4e3f1479914b08a3291cfe86e5e9e;p=thirdparty%2Fstarlette.git docs: fix typo in applications example (#2763) --- diff --git a/docs/applications.md b/docs/applications.md index b90c20f3..a3be21f7 100644 --- a/docs/applications.md +++ b/docs/applications.md @@ -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