#13233: fix typo.
This commit is contained in:
parent
81231d9379
commit
cd1d3ef77b
|
@ -910,7 +910,7 @@ Files and Directories
|
|||
try:
|
||||
fp = open("myfile")
|
||||
except IOError as e:
|
||||
if e.errno == errno.EACCESS:
|
||||
if e.errno == errno.EACCES:
|
||||
return "some default data"
|
||||
# Not a permission error.
|
||||
raise
|
||||
|
|
Loading…
Reference in New Issue