summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-10-20 16:49:29 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-10-20 16:49:29 (GMT)
commit5e30fa5f56387279455c5ce62b10cd262cf4bcca (patch)
treed938a006fb59ba4e1a056f440c508fd6b8eec989
parent44b866a6d389cc4887b1abe14a9fafe08d3ca32a (diff)
downloadcpython-5e30fa5f56387279455c5ce62b10cd262cf4bcca.zip
cpython-5e30fa5f56387279455c5ce62b10cd262cf4bcca.tar.gz
cpython-5e30fa5f56387279455c5ce62b10cd262cf4bcca.tar.bz2
#13233: fix typo.
-rw-r--r--Doc/library/os.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index c7a57f6..2c86076 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -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