diff --git a/peps/pep-0757.rst b/peps/pep-0757.rst index a1035c21b07..5fe1ba52dc6 100644 --- a/peps/pep-0757.rst +++ b/peps/pep-0757.rst @@ -184,7 +184,7 @@ create a Python :class:`int` object from a digits array. The caller must initialize the array of digits *digits* and then call :c:func:`PyLongWriter_Finish` to get a Python :class:`int`. Digits must be - in the range [``0``; ``(1 << sys.bits_per_digit) - 1``]. Unused digits must + in the range [``0``; ``(1 << sys.int_info.bits_per_digit) - 1``]. Unused digits must be set to ``0``. On CPython 3.14, the implementation is a thin wrapper to the private