We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba8e30c commit 1332fdaCopy full SHA for 1332fda
Doc/library/contextvars.rst
@@ -144,6 +144,11 @@ Manual Context Management
144
To get a copy of the current context use the
145
:func:`~contextvars.copy_context` function.
146
147
+ Every thread will have a different top-level :class:`~contextvars.Context`
148
+ object. This means that a :class:`ContextVar` object behaves in a similar
149
+ fashion to :func:`threading.local()` when values are assigned in different
150
+ threads.
151
+
152
Context implements the :class:`collections.abc.Mapping` interface.
153
154
.. method:: run(callable, *args, **kwargs)
0 commit comments