]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
PyLong_AsLongLong() docs should say 'long long' (GH-18082) (GH-18110)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 21 Jan 2020 19:22:21 +0000 (11:22 -0800)
committerMark Dickinson <mdickinson@enthought.com>
Tue, 21 Jan 2020 19:22:21 +0000 (19:22 +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 33f6b3be58307a224bb0f84f057951c88634ecbe..f41d419bd37758c58a965c9ea2d10863c8dfb15c 100644 (file)
@@ -179,7 +179,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.