Author: Manuel Jacob <m...@manueljacob.de> Branch: py3k Changeset: r77716:3bc5c1f9a58b Date: 2015-05-30 22:08 +0200 http://bitbucket.org/pypy/pypy/changeset/3bc5c1f9a58b/
Log: Use Py3k-compatible syntax here. diff --git a/lib_pypy/_ctypes/function.py b/lib_pypy/_ctypes/function.py --- a/lib_pypy/_ctypes/function.py +++ b/lib_pypy/_ctypes/function.py @@ -277,7 +277,7 @@ for argtype, arg in zip(argtypes, args)] try: return to_call(*args) - except SystemExit, e: + except SystemExit as e: handle_system_exit(e) raise return f @@ -310,7 +310,7 @@ try: try: res = self.callable(*newargs) - except SystemExit, e: + except SystemExit as e: handle_system_exit(e) raise except: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit