[pypy-commit] pypy py3k: Use Py3k-compatible syntax here.
mjacob
noreply at buildbot.pypy.org
Sat May 30 22:13:52 CEST 2015
Author: Manuel Jacob <me at 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:
More information about the pypy-commit
mailing list