Author: Carl Friedrich Bolz-Tereick <[email protected]>
Branch:
Changeset: r93748:4c9182daefc7
Date: 2018-02-04 12:30 +0100
http://bitbucket.org/pypy/pypy/changeset/4c9182daefc7/
Log: remove unreachable code (it's covered by the if a.sign == 0 just
above)
diff --git a/rpython/rlib/rbigint.py b/rpython/rlib/rbigint.py
--- a/rpython/rlib/rbigint.py
+++ b/rpython/rlib/rbigint.py
@@ -695,9 +695,7 @@
return NULLRBIGINT
if asize == 1:
- if a._digits[0] == NULLDIGIT:
- return NULLRBIGINT
- elif a._digits[0] == ONEDIGIT:
+ if a._digits[0] == ONEDIGIT:
return rbigint(b._digits[:b.size], a.sign * b.sign, b.size)
elif bsize == 1:
res = b.widedigit(0) * a.widedigit(0)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit