FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.13] gh-124872: Refine contextvars documentation (GH-124773) by rhansen · Pull Request #125233 · python/cpython · GitHub

Repository navigation

[3.13] gh-124872: Refine contextvars documentation (GH-124773) - #125233

Merged
willingc merged 2 commits into
python:3.13from
rhansen:gh-124872-docs
Oct 30, 2024
Merged

willingc merged 2 commits into
python:3.13from
rhansen:gh-124872-docs

Conversation

rhansen commented Oct 10, 2024 •
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Contributor
  • 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.

(cherry-picked from commit 9940093)


📚 Documentation preview 📚: https://cpython-previews--125233.org.readthedocs.build/

  * 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.

(cherry-picked from commit 9940093)
rhansen requested a review from 1st1 as a code owner October 10, 2024 07:05
bedevere-app Bot added the docs Documentation in the Doc dir label Oct 10, 2024
rhansen added a commit to rhansen/cpython that referenced this pull request Oct 10, 2024
I opened issue pythongh-124872 after creating PR pythongh-124773 but forgot to
rename the blurb file to match the new issue number.  (The cherry-pick
to 3.13 in pythongh-125233 already uses this new filename.)
willingc enabled auto-merge (squash) October 30, 2024 20:42
willingc merged commit 2db2b5e into python:3.13 Oct 30, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL