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

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


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

PyLong_AsLongLong() docs should say 'long long' (GH-18082) (GH-18110)

(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 33f6b3be58307..f41d419bd3775 100644
--- a/Doc/c-api/long.rst
+++ b/Doc/c-api/long.rst
@@ -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.
 



More information about the Python-checkins mailing list