summaryrefslogtreecommitdiffstats
path: root/Parser/asdl_c.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-08-09 23:48:02 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-08-09 23:48:02 (GMT)
commit257a1d0f289da018f71836014ff9c6e5aac01295 (patch)
tree574023e5f8238a03944d2a41802113b5aeaecb11 /Parser/asdl_c.py
parent4ec450d3c7fa320fbdd5abf8843137b52a8a6614 (diff)
downloadcpython-257a1d0f289da018f71836014ff9c6e5aac01295.zip
cpython-257a1d0f289da018f71836014ff9c6e5aac01295.tar.gz
cpython-257a1d0f289da018f71836014ff9c6e5aac01295.tar.bz2
2.x syntax
Diffstat (limited to 'Parser/asdl_c.py')
-rwxr-xr-xParser/asdl_c.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py
index ce8425a..ceac32f 100755
--- a/Parser/asdl_c.py
+++ b/Parser/asdl_c.py
@@ -1173,7 +1173,7 @@ def main(srcfile):
write = True
try:
fp = open(p, "r")
- except IOError as e:
+ except IOError, e:
if e.errno != errno.ENOENT:
raise
else: