gh-148763: Fix paramter name in multiprocessing.connection.send_bytes/recv_bytes_into docs#126603
Merged
gpshead merged 2 commits intopython:mainfrom Apr 20, 2026
Merged
Conversation
Contributor
Author
|
Please add the |
|
This PR is stale because it has been open for 30 days with no activity. |
Contributor
Author
|
This PR was stale for a while. I think it was because I hadn't signed the CLA. I have now. The CI complains that there's no issue. I raised an issue, but the CI hasn't noticed that change. I don't know how to re-run the CI. The steps here describe a button which I cannot find on this page. Please re-run the CI for me, and then review and merge. |
multiprocessing.connection.send_bytes/recv_bytes_into docs
gpshead
approved these changes
Apr 20, 2026
|
Thanks @mdavis-xyz for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Apr 20, 2026
…d_bytes/recv_bytes_into` docs (pythonGH-126603) (cherry picked from commit e50acef0b2c2057874a9eec98c37ca6cf8ee98e1) Co-authored-by: Matthew Davis <7035647+mdavis-xyz@users.noreply.github.com> Doc: Fix buf argument name in multiprocessing connection send_bytes
|
GH-148786 is a backport of this pull request to the 3.14 branch. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Apr 20, 2026
…d_bytes/recv_bytes_into` docs (pythonGH-126603) (cherry picked from commit e50acef) Co-authored-by: Matthew Davis <7035647+mdavis-xyz@users.noreply.github.com> Doc: Fix buf argument name in multiprocessing connection send_bytes
|
GH-148787 is a backport of this pull request to the 3.13 branch. |
gpshead
pushed a commit
that referenced
this pull request
Apr 20, 2026
…nd_bytes/recv_bytes_into` docs (GH-126603) (#148786) gh-148763: Fix paramter name in `multiprocessing.connection.send_bytes/recv_bytes_into` docs (GH-126603) (cherry picked from commit e50acef) Doc: Fix buf argument name in multiprocessing connection send_bytes Co-authored-by: Matthew Davis <7035647+mdavis-xyz@users.noreply.github.com>
gpshead
pushed a commit
that referenced
this pull request
Apr 20, 2026
…nd_bytes/recv_bytes_into` docs (GH-126603) (#148787) gh-148763: Fix paramter name in `multiprocessing.connection.send_bytes/recv_bytes_into` docs (GH-126603) (cherry picked from commit e50acef) Doc: Fix buf argument name in multiprocessing connection send_bytes Co-authored-by: Matthew Davis <7035647+mdavis-xyz@users.noreply.github.com>
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documentation
The documentation for multiprocessing.connection.Connection.send_bytes says that the first argument is called
buffer.When I run:
(On python 3.13)
In connection.py the argument is defined as
bufnotbuffer.Indeed when I instead write
c1.send_bytes(buf=b'123'), it runs without throwing an exception.The same is true of
recv_bytes_into.Note: I did not raise an issue for this, because it is so trivial.
📚 Documentation preview 📚: https://cpython-previews--126603.org.readthedocs.build/