From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 21 Jan 2020 19:21:41 +0000 (-0800) Subject: PyLong_AsLongLong() docs should say 'long long' (GH-18082) (#18109) X-Git-Tag: v3.7.7rc1~79 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d76ff72b4da3929e3f3950ad19c14bb785994fd4;p=thirdparty%2FPython%2Fcpython.git PyLong_AsLongLong() docs should say 'long long' (GH-18082) (#18109) (cherry picked from commit 47be7d0108b4021ede111dbd15a095c725be46b7) Co-authored-by: Keith Erskine Co-authored-by: Keith Erskine --- diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst index 15fccb86a403..08cf6a9bf25a 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.