Author: Alex Gaynor <[email protected]>
Branch: kill-someobject
Changeset: r57932:2564e1af5588
Date: 2012-10-08 15:30 +0200
http://bitbucket.org/pypy/pypy/changeset/2564e1af5588/
Log: trailing whitespace removal
diff --git a/pypy/rlib/rarithmetic.py b/pypy/rlib/rarithmetic.py
--- a/pypy/rlib/rarithmetic.py
+++ b/pypy/rlib/rarithmetic.py
@@ -63,7 +63,7 @@
# whatever size a long has, make it big enough for a pointer.
return _get_bitsize(_long_typecode)
-# exported for now for testing array values.
+# exported for now for testing array values.
# might go into its own module.
def get_long_pattern(x):
"""get the bit pattern for a long, adjusted to pointer size"""
@@ -72,7 +72,7 @@
# used in tests for ctypes and for genc and friends
# to handle the win64 special case:
is_emulated_long = _long_typecode != 'l'
-
+
LONG_BIT = _get_long_bit()
LONG_MASK = (2**LONG_BIT)-1
LONG_TEST = 2**(LONG_BIT-1)
@@ -289,7 +289,7 @@
y = long(other)
return self._widen(other, x + y)
__radd__ = __add__
-
+
def __sub__(self, other):
x = long(self)
y = long(other)
@@ -299,7 +299,7 @@
y = long(self)
x = long(other)
return self._widen(other, x - y)
-
+
def __mul__(self, other):
x = long(self)
if not isinstance(other, (int, long)):
@@ -454,7 +454,7 @@
def compute_annotation(self):
from pypy.annotation import model as annmodel
return annmodel.SomeInteger(knowntype=int_type)
-
+
class ForTypeEntry(extregistry.ExtRegistryEntry):
_about_ = int_type
@@ -466,7 +466,7 @@
v_result, = hop.inputargs(hop.r_result.lowleveltype)
hop.exception_cannot_occur()
return v_result
-
+
return int_type
class BaseIntValueEntry(extregistry.ExtRegistryEntry):
@@ -475,7 +475,7 @@
def compute_annotation(self):
from pypy.annotation import model as annmodel
return annmodel.SomeInteger(knowntype=r_ulonglong)
-
+
class BaseIntTypeEntry(extregistry.ExtRegistryEntry):
_about_ = base_int
@@ -595,7 +595,7 @@
""" Convert little->big endian and the opposite
"""
from pypy.rpython.lltypesystem import lltype, rffi
-
+
T = lltype.typeOf(arg)
# XXX we cannot do arithmetics on small ints
if isinstance(arg, base_int):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit