[pypy-commit] pypy win64-stage1: three more typos
ctismer
noreply at buildbot.pypy.org
Fri Nov 25 02:44:03 CET 2011
Author: Christian Tismer <tismer at stackless.com>
Branch: win64-stage1
Changeset: r49772:e317cfe7ae6a
Date: 2011-11-25 02:38 +0100
http://bitbucket.org/pypy/pypy/changeset/e317cfe7ae6a/
Log: three more typos
diff --git a/pypy/rlib/rerased.py b/pypy/rlib/rerased.py
--- a/pypy/rlib/rerased.py
+++ b/pypy/rlib/rerased.py
@@ -28,7 +28,7 @@
def erase_int(x):
- assert is_valid_int(x))
+ assert is_valid_int(x)
res = 2 * x + 1
if res > sys.maxint or res < -sys.maxint - 1:
raise OverflowError
diff --git a/pypy/rpython/llinterp.py b/pypy/rpython/llinterp.py
--- a/pypy/rpython/llinterp.py
+++ b/pypy/rpython/llinterp.py
@@ -1018,7 +1018,7 @@
# Overflow-detecting variants
def op_int_neg_ovf(self, x):
- assert is_valid_int(x))
+ assert is_valid_int(x)
try:
return ovfcheck(-x)
except OverflowError:
diff --git a/pypy/rpython/lltypesystem/opimpl.py b/pypy/rpython/lltypesystem/opimpl.py
--- a/pypy/rpython/lltypesystem/opimpl.py
+++ b/pypy/rpython/lltypesystem/opimpl.py
@@ -194,7 +194,7 @@
if not is_valid_int(x, force_type=False):
from pypy.rpython.lltypesystem import llgroup
assert isinstance(x, llgroup.CombinedSymbolic)
- assert is_valid_int(y))
+ assert is_valid_int(y)
return intmask(x - y)
def op_int_ge(x, y):
More information about the pypy-commit
mailing list