From c877594d430528fd3e9a57d483c24f968f43f15c Mon Sep 17 00:00:00 2001 From: Keith Erskine Date: Tue, 21 Jan 2020 13:14:13 -0600 Subject: [PATCH] PyLong_AsLongLong() docs should say 'long long' (GH-18082) (cherry picked from commit 47be7d0108b4021ede111dbd15a095c725be46b7) Co-authored-by: Keith Erskine --- Doc/c-api/long.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst index 15fccb86a403e2..08cf6a9bf25a4f 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.