bpo-27961: Replace PY_ULLONG_MAX with ULLONG_MAX (GH-17539) · python/cpython@a2ff283 (original) (raw)

Original file line number Diff line number Diff line change
@@ -304,7 +304,7 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
304 304 it to a :c:type:`PyLongObject`.
305 305
306 306 If the value of *obj* is out of range for an :c:type:`unsigned long long`,
307 - return the reduction of that value modulo ``PY_ULLONG_MAX + 1``.
307 + return the reduction of that value modulo ``ULLONG_MAX + 1``.
308 308
309 309 Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred`
310 310 to disambiguate.