[Python-checkins] bpo-27961: Replace PY_ULLONG_MAX with ULLONG_MAX (GH-17539)
Victor Stinner
webhook-mailer at python.org
Mon Dec 9 15:22:24 EST 2019
https://github.com/python/cpython/commit/a2ff283d519be11f50220885ddc4d029eb8cb0a0
commit: a2ff283d519be11f50220885ddc4d029eb8cb0a0
branch: master
author: Sergey Fedoseev <fedoseev.sergey at gmail.com>
committer: Victor Stinner <vstinner at python.org>
date: 2019年12月09日T21:22:19+01:00
summary:
bpo-27961: Replace PY_ULLONG_MAX with ULLONG_MAX (GH-17539)
files:
M Doc/c-api/long.rst
diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst
index 5a6d09ad1bddd..c360104592078 100644
--- a/Doc/c-api/long.rst
+++ b/Doc/c-api/long.rst
@@ -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.
More information about the Python-checkins
mailing list