Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 619323c

Browse files
committed
merge 3.1
2 parents c7dd737 + 2340986 commit 619323c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/os.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ Files and Directories
907907

908908
try:
909909
fp = open("myfile")
910-
except OSError as e:
910+
except IOError as e:
911911
if e.errno == errno.EACCESS:
912912
return "some default data"
913913
# Not a permission error.

0 commit comments

Comments
 (0)