-
-
Notifications
You must be signed in to change notification settings - Fork 34.1k
Clarify the docs for args in asyncio callbacks
#143873
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
Conversation
Doc/library/asyncio-eventloop.rst
Outdated
|
|
||
| Arrange for *func* to be called in the specified executor. | ||
| Arrange for *func* to be called in the specified executor | ||
| with *args* being passed as positional arguments. |
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.
Can we use the same formulation as elsewhere (that is use either "passing...." or "with args ...")
|
Updating branch to fix the CI. |
kumaraditya303
left a comment
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.
awaiting changes for Bénédikt's review
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
|
Thanks @akx for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
(cherry picked from commit 40a82abe9335e78e34ca564243499490e50b8888) Co-authored-by: Aarni Koskela <akx@iki.fi> Co-authored-by: Kumar Aditya <kumaraditya@python.org>
(cherry picked from commit 40a82ab) Co-authored-by: Aarni Koskela <akx@iki.fi> Co-authored-by: Kumar Aditya <kumaraditya@python.org>
|
GH-144663 is a backport of this pull request to the 3.14 branch. |
|
GH-144664 is a backport of this pull request to the 3.13 branch. |
While working on asyncio-related things, my eyes somehow skipped over the "keyword arguments" part of the sentence about
functools.partial, andargswasn't at all documented foradd_signal_handler.Hence, this PR gently clarifies the documentation for
*argsin asyncio loop callbacks and unifies all of the places referring tofunctools.partialto have similar verbiage.I think this is a trivial enough documentation improvement that it doesn't require an issue, but let me know if not so.
📚 Documentation preview 📚: https://cpython-previews--143873.org.readthedocs.build/