Skip to content

Commit 8031af0

Browse files
committed
fix assert
1 parent 588490a commit 8031af0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/longobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ static inline unsigned long
502502
_unroll_digits(PyLongObject *v, Py_ssize_t *i)
503503
{
504504
digit *digits = v->long_value.ob_digit;
505-
assert(*digit_count >= 2);
505+
assert(*i >= 2);
506506
/* unroll 1 digit */
507507
--(*i);
508508
assert(ULONG_MAX >= ((1UL << PyLong_SHIFT) - 1));

0 commit comments

Comments
 (0)