Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upPyLong_AsLongLong() docs should refer to 'long long' rather than 'long' #18082
Conversation
Thanks for the PR @keitherskine and welcome!
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. |
This comment has been minimized.
This comment has been minimized.
Many thanks @aeros , sounds good! |
LGTM |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Jan 21, 2020
@mdickinson: Please replace |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Jan 21, 2020
Thanks @keitherskine for the PR, and @mdickinson for merging it |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Jan 21, 2020
I'm having trouble backporting to |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Jan 21, 2020
GH-18109 is a backport of this pull request to the 3.7 branch. |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Jan 21, 2020
Thanks @keitherskine for the PR, and @mdickinson for merging it |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Jan 21, 2020
Thanks @keitherskine for the PR, and @mdickinson for merging it |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Jan 21, 2020
GH-18110 is a backport of this pull request to the 3.8 branch. |
This comment has been minimized.
This comment has been minimized.
@keitherskine Thank you! Merged, and backported to 3.8 and 3.7. |
keitherskine commentedJan 20, 2020
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.