mirror of
https://github.com/python/cpython.git
synced 2025-09-28 19:25:27 +00:00
#13233: fix typo.
This commit is contained in:
parent
44b866a6d3
commit
5e30fa5f56
1 changed files with 1 additions and 1 deletions
|
@ -936,7 +936,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…
Add table
Add a link
Reference in a new issue