1. Pypy
  2. Untitled project
  3. pypy

Commits

Manuel Jacob  committed effcd58

Raise ArgumentError here again.

  • Participants
  • Parent commits 858eded
  • Branches py3k

Comments (0)

Files changed (1)

File lib_pypy/_ctypes/function.py

View file
                 try:
                     keepalive, newarg, newargtype = self._conv_param(argtype, args[i])
                 except (UnicodeError, TypeError, ValueError) as e:
-                    raise
                     raise ArgumentError(str(e))
                 keepalives.append(keepalive)
                 newargs.append(newarg)