bpo-27961: Replace PY_LLONG_MAX, PY_LLONG_MIN and PY_ULLONG_MAX with standard macros (GH-15385)
Use standard constants LLONG_MIN, LLONG_MAX and ULLONG_MAX.
diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst
index 83d59de..5a6d09a 100644
--- a/Doc/c-api/long.rst
+++ b/Doc/c-api/long.rst
@@ -195,8 +195,8 @@
:meth:`__int__` method (if present) to convert it to a
:c:type:`PyLongObject`.
- If the value of *obj* is greater than :const:`PY_LLONG_MAX` or less than
- :const:`PY_LLONG_MIN`, set *\*overflow* to ``1`` or ``-1``, respectively,
+ If the value of *obj* is greater than :const:`LLONG_MAX` or less than
+ :const:`LLONG_MIN`, set *\*overflow* to ``1`` or ``-1``, respectively,
and return ``-1``; otherwise, set *\*overflow* to ``0``. If any other
exception occurs set *\*overflow* to ``0`` and return ``-1`` as usual.