]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-27961: Replace PY_ULLONG_MAX with ULLONG_MAX (GH-17539)
authorSergey Fedoseev <fedoseev.sergey@gmail.com>
Mon, 9 Dec 2019 20:22:19 +0000 (01:22 +0500)
committerVictor Stinner <vstinner@python.org>
Mon, 9 Dec 2019 20:22:19 +0000 (21:22 +0100)
Doc/c-api/long.rst

index 5a6d09ad1bddd559f9996482f4e7efb3f0333f25..c3601045920780864fc1bdce726542dff395ca9a 100644 (file)
@@ -304,7 +304,7 @@ distinguished from a number.  Use :c:func:`PyErr_Occurred` to disambiguate.
    it to a :c:type:`PyLongObject`.
 
    If the value of *obj* is out of range for an :c:type:`unsigned long long`,
-   return the reduction of that value modulo ``PY_ULLONG_MAX + 1``.
+   return the reduction of that value modulo ``ULLONG_MAX + 1``.
 
    Returns ``(unsigned long long)-1`` on error.  Use :c:func:`PyErr_Occurred`
    to disambiguate.