[pypy-svn] r5040 - pypy/trunk/src/pypy/objspace/std
arigo at codespeak.net
arigo at codespeak.net
Thu Jun 10 19:26:44 CEST 2004
Author: arigo
Date: Thu Jun 10 19:26:43 2004
New Revision: 5040
Modified:
pypy/trunk/src/pypy/objspace/std/intobject.py
Log:
Same typo as the previous check-in, just a few lines off.
Modified: pypy/trunk/src/pypy/objspace/std/intobject.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/intobject.py (original)
+++ pypy/trunk/src/pypy/objspace/std/intobject.py Thu Jun 10 19:26:43 2004
@@ -303,7 +303,7 @@
raise OperationError(space.w_ValueError,
space.wrap("negative shift count"))
if a == 0 or b == 0:
- return pos__Int(w_int1)
+ return pos__Int(space, w_int1)
if b >= LONG_BIT:
raise FailedToImplement(space.w_OverflowError,
space.wrap("integer left shift"))
@@ -333,7 +333,7 @@
raise OperationError(space.w_ValueError,
space.wrap("negative shift count"))
if a == 0 or b == 0:
- return Int_pos(w_int1)
+ return pos__Int(space, w_int1)
if b >= LONG_BIT:
if a < 0:
a = -1
More information about the Pypy-commit
mailing list