[pypy-svn] rev 564 - pypy/trunk/src/pypy/objspace/std
tismer at codespeak.net
tismer at codespeak.net
Tue May 27 15:44:28 CEST 2003
Author: tismer
Date: Tue May 27 15:44:27 2003
New Revision: 564
Modified:
pypy/trunk/src/pypy/objspace/std/restricted_int.py
Log:
typo in restricted:int
Modified: pypy/trunk/src/pypy/objspace/std/restricted_int.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/restricted_int.py (original)
+++ pypy/trunk/src/pypy/objspace/std/restricted_int.py Tue May 27 15:44:27 2003
@@ -39,7 +39,7 @@
x = int(self)
y = int(other)
res = x * y
- if not isinstance(res, int, long)):
+ if not isinstance(res, (int, long)):
res = r_int(res)
return res
__rmul__ = __mul__
@@ -179,7 +179,7 @@
x = long(self)
y = long(other)
res = x * y
- if not isinstance(res, int, long)):
+ if not isinstance(res, (int, long)):
res = r_uint(res)
return res
__rmul__ = __mul__
More information about the Pypy-commit
mailing list