Skip to content

bpo-43959: clarify the documentation of the PyContextVar C-API#25671

Merged
miss-islington merged 1 commit into
python:masterfrom
scoder:bpo-43959_contextvar_docs
Apr 28, 2021
Merged

bpo-43959: clarify the documentation of the PyContextVar C-API#25671
miss-islington merged 1 commit into
python:masterfrom
scoder:bpo-43959_contextvar_docs

Conversation

@scoder

@scoder scoder commented Apr 27, 2021

Copy link
Copy Markdown
Contributor

https://bugs.python.org/issue43959

Automerge-Triggered-By: GH:scoder

Comment thread Doc/c-api/contextvars.rst
Comment thread Doc/c-api/contextvars.rst
Comment thread Doc/c-api/contextvars.rst
pointer to a :c:type:`PyObject` object, or ``NULL`` if an error
has occurred.
Set the value of *var* to *value* in the current context. Returns
a new token object for this change, or ``NULL`` if an error has occurred.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we hyperlink to PyContextToken for the term token object ?

@orsenthil orsenthil left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good to me.

A hyperlink to PyContextToken will be helpful.

@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @scoder for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 28, 2021
…nGH-25671)

Automerge-Triggered-By: GH:scoder
(cherry picked from commit 4c49be7)

Co-authored-by: scoder <stefan_ml@behnel.de>
@bedevere-bot

Copy link
Copy Markdown

GH-25689 is a backport of this pull request to the 3.9 branch.

@bedevere-bot

Copy link
Copy Markdown

GH-25690 is a backport of this pull request to the 3.8 branch.

scoder pushed a commit that referenced this pull request Apr 28, 2021
scoder pushed a commit that referenced this pull request Apr 28, 2021
@scoder
scoder deleted the bpo-43959_contextvar_docs branch April 28, 2021 16:13
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

None yet

Development

Successfully merging this pull request may close these issues.

5 participants