Skip to content

gh-158585: Add 3 examples to PyBytesWriter documentation - #159129

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:writer_doc
Oct 10, 2026
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:writer_doc

Conversation

@vstinner

@vstinner vstinner commented Oct 10, 2026 •

Copy link
Copy Markdown
Member

@vstinner vstinner added docs Documentation in the Doc dir topic-C-API needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Oct 10, 2026
@vstinner

Copy link
Copy Markdown
Member Author

Examples adapted from https://peps.python.org/pep-0782/#examples examples: I added functions to make the code easier to understand.

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #35062635 | 📁 Comparing e409c19 against main (224b4b0)

  🔍 Preview build  

1 file changed
± c-api/bytes.html

@vstinner
vstinner merged commit 5eefa58 into python:main Oct 10, 2026
41 checks passed
@vstinner
vstinner deleted the writer_doc branch October 10, 2026 19:46
@miss-islington-app

Copy link
Copy Markdown

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Oct 10, 2026

Copy link
Copy Markdown

GH-159142 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Oct 10, 2026
vstinner added a commit that referenced this pull request Oct 10, 2026
…59129) (#159142)

gh-158585: Add 3 examples to PyBytesWriter documentation (GH-159129)
(cherry picked from commit 5eefa58)

Co-authored-by: Victor Stinner <vstinner@python.org>
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 skip news topic-C-API

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant