From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 21 Jan 2020 19:22:21 +0000 (-0800) Subject: PyLong_AsLongLong() docs should say 'long long' (GH-18082) (GH-18110) X-Git-Tag: v3.8.2rc1~56 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=41b3e879303d147bb46f0d230d5a101bca40bb9f;p=thirdparty%2FPython%2Fcpython.git PyLong_AsLongLong() docs should say 'long long' (GH-18082) (GH-18110) (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 33f6b3be5830..f41d419bd377 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.