Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r67933:c23cbc5014a9
Date: 2013-11-10 16:44 +0100
http://bitbucket.org/pypy/pypy/changeset/c23cbc5014a9/

Log:    Translation fix

diff --git a/rpython/rlib/rbigint.py b/rpython/rlib/rbigint.py
--- a/rpython/rlib/rbigint.py
+++ b/rpython/rlib/rbigint.py
@@ -945,7 +945,7 @@
 
     @jit.elidable
     def abs_rshift_and_mask(self, bigshiftcount, mask):
-        assert type(bigshiftcount) is r_ulonglong
+        assert isinstance(bigshiftcount, r_ulonglong)
         assert mask >= 0
         wordshift = bigshiftcount / SHIFT
         numdigits = self.numdigits()
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to