[Python-checkins] cpython: 2.x syntax
benjamin.peterson
python-checkins at python.org
Wed Aug 10 01:48:11 CEST 2011
http://hg.python.org/cpython/rev/1b4fae183da3
changeset: 71803:1b4fae183da3
user: Benjamin Peterson <benjamin at python.org>
date: Tue Aug 09 18:48:02 2011 -0500
summary:
2.x syntax
files:
Parser/asdl_c.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py
--- a/Parser/asdl_c.py
+++ b/Parser/asdl_c.py
@@ -1173,7 +1173,7 @@
write = True
try:
fp = open(p, "r")
- except IOError as e:
+ except IOError, e:
if e.errno != errno.ENOENT:
raise
else:
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list