-
-
Notifications
You must be signed in to change notification settings - Fork 32k
PyLong_AsLongLong() docs should refer to 'long long' rather than 'long' #18082
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyLong_AsLongLong() docs should refer to 'long long' rather than 'long' #18082
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @keitherskine and welcome!
This seems like a trivial docs change, but if I need to raise a bug issue for it, do let me know.
This PR is simple enough that we can skip the issue and news entry, that's typically the standard procedure for minor documentation fixes.
The fix looks correct to me. I'll request a review @mdickinson though to be certain, since it looks like he made the last change to this section in f0acfee.
Many thanks @aeros , sounds good! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@mdickinson: Please replace |
Thanks @keitherskine for the PR, and @mdickinson for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8. |
I'm having trouble backporting to |
(cherry picked from commit 47be7d0) Co-authored-by: Keith Erskine <[email protected]>
GH-18109 is a backport of this pull request to the 3.7 branch. |
Thanks @keitherskine for the PR, and @mdickinson for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7. |
Thanks @keitherskine for the PR, and @mdickinson for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8. |
(cherry picked from commit 47be7d0) Co-authored-by: Keith Erskine <[email protected]>
GH-18110 is a backport of this pull request to the 3.8 branch. |
(cherry picked from commit 47be7d0) Co-authored-by: Keith Erskine <[email protected]> Co-authored-by: Keith Erskine <[email protected]>
(cherry picked from commit 47be7d0) Co-authored-by: Keith Erskine <[email protected]> Co-authored-by: Keith Erskine <[email protected]>
@keitherskine Thank you! Merged, and backported to 3.8 and 3.7. |
In the docs for PyLong_AsLongLong(), it states that an Overflow exception will be raised if the value is out of range for a C-style
long
integer type. I believe this should refer tolong long
, to align with the rest of the description of this function.The docs for the other functions in
Doc/c-api/long.rst
appear to be correct.This seems like a trivial docs change, but if I need to raise a bug issue for it, do let me know.