8000
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 db577e2 commit 36f67c2Copy full SHA for 36f67c2
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` 5DA6 code>
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