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

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


https://github.com/python/cpython/commit/d76ff72b4da3929e3f3950ad19c14bb785994fd4
commit: d76ff72b4da3929e3f3950ad19c14bb785994fd4
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Mark Dickinson <mdickinson at enthought.com>
date: 2020-01-21T19:21:41Z
summary:

PyLong_AsLongLong() docs should say 'long long' (GH-18082) (#18109)

(cherry picked from commit 47be7d0108b4021ede111dbd15a095c725be46b7)

Co-authored-by: Keith Erskine <toastie604 at gmail.com>

Co-authored-by: Keith Erskine <toastie604 at gmail.com>

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

diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst
index 15fccb86a403e..08cf6a9bf25a4 100644
--- a/Doc/c-api/long.rst
+++ b/Doc/c-api/long.rst
@@ -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.
 



More information about the Python-checkins mailing list