Commits

Armin Rigo  committed efb8662

Fix

  • Participants
  • Parent commits 57a1071
  • Branches ffi-backend

Comments (0)

Files changed (1)

File pypy/module/_cffi_backend/ctypefunc.py

                 if argtype.is_unichar_ptr_or_array:
                     try:
                         space.unicode_w(w_obj)
-                    except OperationError:
+                    except OperationError, e:
                         if not e.match(space, space.w_TypeError):
                             raise
                     else: