[Python-checkins] PyLong_AsLongLong() docs should say 'long long' (#18082)

Mark Dickinson webhook-mailer at python.org
Tue Jan 21 14:14:18 EST 2020


https://github.com/python/cpython/commit/47be7d0108b4021ede111dbd15a095c725be46b7
commit: 47be7d0108b4021ede111dbd15a095c725be46b7
branch: master
author: Keith Erskine <toastie604 at gmail.com>
committer: Mark Dickinson <mdickinson at enthought.com>
date: 2020-01-21T19:14:13Z
summary:

PyLong_AsLongLong() docs should say 'long long' (#18082)

files:
M Doc/c-api/long.rst

diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst
index c360104592078..c5c2aa60dcc35 100644
--- a/Doc/c-api/long.rst
+++ b/Doc/c-api/long.rst
@@ -177,7 +177,7 @@ distinguished from a number.  Use :c:func:`PyErr_Occurred` to disambiguate.
    :c:type:`PyLongObject`.
 
    Raise :exc:`OverflowError` if the value of *obj* is out of range for a
-   :c:type:`long`.
+   :c:type:`long long`.
 
    Returns ``-1`` on error.  Use :c:func:`PyErr_Occurred` to disambiguate.
 



More information about the Python-checkins mailing list