summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-02-27 14:24:35 -0700
committerCharles Harris <charlesr.harris@gmail.com>2013-02-27 14:31:12 -0700
commitc6397ba59fba25989b0ba37ad8267325757f1dcd (patch)
tree1501c04214cbf846badc7988de6ff5f2094c9940 /benchmarks
parent208072f817ac14f041569f0123d3434bc9e0daba (diff)
downloadnumpy-c6397ba59fba25989b0ba37ad8267325757f1dcd.tar.gz
2to3: Updata `except Exception, msg:` syntax in files not in numpy/ .
This should finish the updating of the exception syntax.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/benchmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/benchmark.py b/benchmarks/benchmark.py
index 526a69d58..047379451 100644
--- a/benchmarks/benchmark.py
+++ b/benchmarks/benchmark.py
@@ -35,7 +35,7 @@ class Benchmark(dict):
try:
print "%s: %s" % (modname, \
self.module_test[mod].repeat(self.runs,self.reps))
- except Exception, e:
+ except Exception as e:
print "%s: Failed to benchmark (%s)." % (modname,e)
print '-'*79