summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorRichard Hansen <rhansen@rhansen.org>2024-10-09 23:44:03 (GMT)
committerGitHub <noreply@github.com>2024-10-09 23:44:03 (GMT)
commit99400930ac1d4e5e10a5ae30f8202d8bc2661e39 (patch)
treec10248b89e10f17d1ea801755e62ce469b41d5a5 /.github
parent942916378aa6a0946b1385c2c7ca6935620d710a (diff)
downloadcpython-99400930ac1d4e5e10a5ae30f8202d8bc2661e39.zip
cpython-99400930ac1d4e5e10a5ae30f8202d8bc2661e39.tar.gz
cpython-99400930ac1d4e5e10a5ae30f8202d8bc2661e39.tar.bz2
gh-124872: Refine contextvars documentation (#124773)
* Add definitions for "context", "current context", and "context management protocol". * Update related definitions to be consistent with the new definitions. * Restructure the documentation for the `contextvars.Context` class to prepare for adding context manager support, and for consistency with the definitions. * Use `testcode` and `testoutput` to test the `Context.run` example. * Expand the documentation for the `Py_CONTEXT_EVENT_ENTER` and `Py_CONTEXT_EVENT_EXIT` events to clarify and to prepare for planned changes.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions