Skip to content

Commit cd1d3ef

Browse files
committed
#13233: fix typo.
1 parent 81231d9 commit cd1d3ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/os.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ Files and Directories
910910
try:
911911
fp = open("myfile")
912912
except IOError as e:
913-
if e.errno == errno.EACCESS:
913+
if e.errno == errno.EACCES:
914914
return "some default data"
915915
# Not a permission error.
916916
raise

0 commit comments

Comments
 (0)