Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a2ff283

Browse files
sir-sigurdvstinner
authored andcommitted
bpo-27961: Replace PY_ULLONG_MAX with ULLONG_MAX (GH-17539)
1 parent ee17e37 commit a2ff283

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/long.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
304304
it to a :c:type:`PyLongObject`.
305305
306306
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``.
308308
309309
Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred`
310310
to disambiguate.

0 commit comments

Comments
 (0)