Skip to content

Reword PyLong_AsNativeBytes docs#33

Merged
zooba merged 1 commit intozooba:gh-111140from
encukou:gh-111140
Apr 4, 2024
Merged

Reword PyLong_AsNativeBytes docs#33
zooba merged 1 commit intozooba:gh-111140from
encukou:gh-111140

Conversation

@encukou
Copy link
Copy Markdown

@encukou encukou commented Apr 4, 2024

Hi,
Here's how I'd rewrite the PyLong_AsNativeBytes docs: first define what the function does, then give the examples, then discuss the flags.
I've added Note boxes for details that might be surprising (especially if C casts aren't your mental model of this operation).


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

@zooba zooba merged commit 1e615cf into zooba:gh-111140 Apr 4, 2024
@github-staff github-staff deleted a comment May 27, 2024
Repository owner locked as spam and limited conversation to collaborators May 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants