[pypy-svn] r32692 - in pypy/dist/pypy: module/_socket objspace/cclp/constraint translator/c
mwh at codespeak.net
mwh at codespeak.net
Thu Sep 28 14:23:48 CEST 2006
Author: mwh
Date: Thu Sep 28 14:23:46 2006
New Revision: 32692
Modified:
pypy/dist/pypy/module/_socket/rsocket.py
pypy/dist/pypy/objspace/cclp/constraint/constraint.py
pypy/dist/pypy/translator/c/primitive.py
Log:
remove four tab characters in three files.
Modified: pypy/dist/pypy/module/_socket/rsocket.py
==============================================================================
--- pypy/dist/pypy/module/_socket/rsocket.py (original)
+++ pypy/dist/pypy/module/_socket/rsocket.py Thu Sep 28 14:23:46 2006
@@ -398,7 +398,7 @@
that the system will allow before refusing new connections."""
if backlog < 1:
backlog = 1
- res = _c.socketlisten(self.fd, backlog)
+ res = _c.socketlisten(self.fd, backlog)
if res < 0:
raise self.error_handler()
Modified: pypy/dist/pypy/objspace/cclp/constraint/constraint.py
==============================================================================
--- pypy/dist/pypy/objspace/cclp/constraint/constraint.py (original)
+++ pypy/dist/pypy/objspace/cclp/constraint/constraint.py Thu Sep 28 14:23:46 2006
@@ -111,7 +111,7 @@
assert isinstance(values, list)
ds = domain.size()
assert isinstance(ds, int)
- w_name = variable.w_name()
+ w_name = variable.w_name()
lval = len(values)
variables.add(ds, Quadruple(w_name, values, 0, lval))
# was meant to be:
Modified: pypy/dist/pypy/translator/c/primitive.py
==============================================================================
--- pypy/dist/pypy/translator/c/primitive.py (original)
+++ pypy/dist/pypy/translator/c/primitive.py Thu Sep 28 14:23:46 2006
@@ -21,11 +21,11 @@
cdecl(db.gettype(value.TYPE), ''),
structnode.c_struct_field_name(value.fldname))
elif isinstance(value, ItemOffset):
- if value.TYPE != Void:
+ if value.TYPE != Void:
return '(sizeof(%s) * %s)'%(
cdecl(db.gettype(value.TYPE), ''), value.repeat)
else:
- return '0'
+ return '0'
elif isinstance(value, ArrayItemsOffset):
if isinstance(value.TYPE, FixedSizeArray):
return '0'
More information about the Pypy-commit
mailing list