Skip to content

gh-157242: Fix typo in _PyBytes_Resize() - #157619

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:bytes_resize_doc
Sep 16, 2026
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:bytes_resize_doc

Conversation

@vstinner

@vstinner vstinner commented Sep 16, 2026

Copy link
Copy Markdown
Member

PyBytes_AsString() should be used to modify the object, not PyBytesWriter_GetData().

PyBytes_AsString() should be used to modify the object, not
PyBytesWriter_GetData().
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #34590022 | 📁 Comparing 0ad3025 against main (7f52444)

  🔍 Preview build  

1 file changed
± c-api/bytes.html

@vstinner
vstinner merged commit 8df6f07 into python:main Sep 16, 2026
36 checks passed
@vstinner
vstinner deleted the bytes_resize_doc branch September 16, 2026 12:13
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Sep 16, 2026
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

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant