diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-08-09 23:48:02 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-08-09 23:48:02 (GMT) |
commit | 257a1d0f289da018f71836014ff9c6e5aac01295 (patch) | |
tree | 574023e5f8238a03944d2a41802113b5aeaecb11 /Parser | |
parent | 4ec450d3c7fa320fbdd5abf8843137b52a8a6614 (diff) | |
download | cpython-257a1d0f289da018f71836014ff9c6e5aac01295.zip cpython-257a1d0f289da018f71836014ff9c6e5aac01295.tar.gz cpython-257a1d0f289da018f71836014ff9c6e5aac01295.tar.bz2 |
2.x syntax
Diffstat (limited to 'Parser')
-rwxr-xr-x | Parser/asdl_c.py | 2 |
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: |