Skip to content

Commit 14cbb59

Browse files
committed
Require that ndigits > 0
1 parent ff879e1 commit 14cbb59

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

peps/pep-0757.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ create a Python :class:`int` object from a digits array.
182182
183183
*negative* is ``1`` if the number is negative, or ``0`` otherwise.
184184
185-
*ndigits* is the number of digits in the *digits* array. It must be
186-
greater than or equal to 0.
185+
*ndigits* is the number of digits in the *digits* array. It must be
186+
greater than 0.
187187
188188
The caller can either initialize the array of digits *digits* and then
189189
either call :c:func:`PyLongWriter_Finish` to get a Python :class:`int` or

0 commit comments

Comments
 (0)