Author: Carl Friedrich Bolz-Tereick <cfb...@gmx.de> Branch: Changeset: r93750:cfcbece09877 Date: 2018-02-04 13:00 +0100 http://bitbucket.org/pypy/pypy/changeset/cfcbece09877/
Log: remove unused argument (and uncovered condition) diff --git a/rpython/rlib/rbigint.py b/rpython/rlib/rbigint.py --- a/rpython/rlib/rbigint.py +++ b/rpython/rlib/rbigint.py @@ -1823,16 +1823,14 @@ ret._normalize() return ret -def _inplace_divrem1(pout, pin, n, size=0): +def _inplace_divrem1(pout, pin, n): """ Divide bigint pin by non-zero digit n, storing quotient in pout, and returning the remainder. It's OK for pin == pout on entry. """ rem = _widen_digit(0) assert n > 0 and n <= MASK - if not size: - size = pin.numdigits() - size -= 1 + size = pin.numdigits() - 1 while size >= 0: rem = (rem << SHIFT) | pin.widedigit(size) hi = rem // n _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit