Commit 2ed7521e authored by Benjamin Peterson's avatar Benjamin Peterson

merge 3.2

parents a5a16bf5 619323c6
......@@ -1358,7 +1358,7 @@ Files and Directories
try:
fp = open("myfile")
except OSError as e:
except IOError as e:
if e.errno == errno.EACCESS:
return "some default data"
# Not a permission error.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment