-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
bpo-43959: clarify the documentation of the PyContextVar C-API #25671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-43959: clarify the documentation of the PyContextVar C-API #25671
Conversation
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. |
There was a problem hiding this comment.
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
?
There was a problem hiding this comment.
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.
Thanks @scoder for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9. |
…nGH-25671) Automerge-Triggered-By: GH:scoder (cherry picked from commit 4c49be7) Co-authored-by: scoder <stefan_ml@behnel.de>
GH-25689 is a backport of this pull request to the 3.9 branch. |
GH-25690 is a backport of this pull request to the 3.8 branch. |
https://bugs.python.org/issue43959
Automerge-Triggered-By: GH:scoder