[pypy-svn] r50456 - pypy/branch/applevel-ctypes2/pypy/module/_ffi
fijal at codespeak.net
fijal at codespeak.net
Wed Jan 9 15:26:40 CET 2008
Author: fijal
Date: Wed Jan 9 15:26:39 2008
New Revision: 50456
Modified:
pypy/branch/applevel-ctypes2/pypy/module/_ffi/interp_ffi.py
Log:
s/if/elif/
Modified: pypy/branch/applevel-ctypes2/pypy/module/_ffi/interp_ffi.py
==============================================================================
--- pypy/branch/applevel-ctypes2/pypy/module/_ffi/interp_ffi.py (original)
+++ pypy/branch/applevel-ctypes2/pypy/module/_ffi/interp_ffi.py Wed Jan 9 15:26:39 2008
@@ -209,7 +209,7 @@
else:
raise OperationError(space.w_TypeError, w(
"Expected structure, array or simple type"))
- if tp == "c":
+ elif tp == "c":
s = space.str_w(w_arg)
if len(s) != 1:
raise OperationError(space.w_ValueError, w(
More information about the Pypy-commit
mailing list