Skip to content

gh-129813: Document that PyBytesWriter_GetData() cannot fail - #145900

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:pybyteswriter_cannot_fail
Mar 13, 2026
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:pybyteswriter_cannot_fail

Conversation

@vstinner

@vstinner vstinner commented Mar 13, 2026 •

Copy link
Copy Markdown
Member

Document that PyBytesWriter_GetData() and PyBytesWriter_GetSize() getter functions cannot fail


📚 Documentation preview 📚: https://cpython-previews--145900.org.readthedocs.build/

Document that PyBytesWriter_GetData() and PyBytesWriter_GetSize()
getter functions cannot fail
@vstinner
vstinner requested a review from ZeroIntensity as a code owner March 13, 2026 07:41
@vstinner
vstinner merged commit 3c38feb into python:main Mar 13, 2026
51 checks passed
@vstinner
vstinner deleted the pybyteswriter_cannot_fail branch March 13, 2026 18:44
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
…ython#145900)

Document that PyBytesWriter_GetData() and PyBytesWriter_GetSize()
getter functions cannot fail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant