]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
PyLong_AsLongLong() docs should say 'long long' (GH-18082) (#18109)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 21 Jan 2020 19:21:41 +0000 (11:21 -0800)
committerMark Dickinson <mdickinson@enthought.com>
Tue, 21 Jan 2020 19:21:41 +0000 (19:21 +0000)
(cherry picked from commit 47be7d0108b4021ede111dbd15a095c725be46b7)

Co-authored-by: Keith Erskine <toastie604@gmail.com>
Co-authored-by: Keith Erskine <toastie604@gmail.com>
Doc/c-api/long.rst

index 15fccb86a403e21b220ce249330ebee476be981d..08cf6a9bf25a4f98ba1f8634b7ff21badcd542cb 100644 (file)
@@ -164,7 +164,7 @@ distinguished from a number.  Use :c:func:`PyErr_Occurred` to disambiguate.
    (if present) to convert it to a :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.