10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53063b7 commit f8b4468Copy full SHA for f8b4468
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