Skip to content
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

Open
wants to merge 1 commit into
base: master
from

Conversation

@keitherskine
Copy link

keitherskine commented Jan 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 to long 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.

@aeros
aeros approved these changes Jan 20, 2020
Copy link
Member

aeros left a comment

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.