summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/long.rst
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2019-12-09 20:22:19 (GMT)
committerVictor Stinner <vstinner@python.org>2019-12-09 20:22:19 (GMT)
commita2ff283d519be11f50220885ddc4d029eb8cb0a0 (patch)
treee41085f48971ba89512ab30d4cd44a6599e2b9a6 /Doc/c-api/long.rst
parentee17e3735634c5fe15a43f897707de8011618627 (diff)
downloadcpython-a2ff283d519be11f50220885ddc4d029eb8cb0a0.zip
cpython-a2ff283d519be11f50220885ddc4d029eb8cb0a0.tar.gz
cpython-a2ff283d519be11f50220885ddc4d029eb8cb0a0.tar.bz2
bpo-27961: Replace PY_ULLONG_MAX with ULLONG_MAX (GH-17539)
Diffstat (limited to 'Doc/c-api/long.rst')
-rw-r--r--Doc/c-api/long.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst
index 5a6d09a..c360104 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.