Skip to content

Commit 4a75a78

Browse files
committed
Update doc of context
1 parent cfe01fd commit 4a75a78

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/contextvars.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,16 +275,16 @@ Manual Context Management
275275

276276
.. method:: keys()
277277

278-
Return a list of all variables in the context object.
278+
Return an iterator of all variables in the context object.
279279

280280
.. method:: values()
281281

282-
Return a list of all variables' values in the context object.
282+
Return an iterator of all variables' values in the context object.
283283

284284

285285
.. method:: items()
286286

287-
Return a list of 2-tuples containing all variables and their
287+
Return an iterator of 2-tuples containing all variables and their
288288
values in the context object.
289289

290290

0 commit comments

Comments
 (0)