diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst index 33f6b3be583..f41d419bd37 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.