Skip to content

Commit 0357158

Browse files
Fixed typo in lifespan state spec (#379)
1 parent 861a59d commit 0357158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

specs/lifespan.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Lifespan State
6565
Applications often want to persist data from the lifespan cycle to request/response handling.
6666
For example, a database connection can be established in the lifespan cycle and persisted to
6767
the request/response cycle.
68-
The ``lifespan["state"]`` namespace provides a place to store these sorts of things.
68+
The ``scope["state"]`` namespace provides a place to store these sorts of things.
6969
The server will ensure that a *shallow copy* of the namespace is passed into each subsequent
7070
request/response call into the application.
7171
Since the server manages the application lifespan and often the event loop as well this

0 commit comments

Comments
 (0)