summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-10-20 16:51:18 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-10-20 16:51:18 (GMT)
commitcd1d3ef77bb4385ba59c76986eca75f8d4df8fd7 (patch)
tree27d8eefbf44f30f96e960f1c072d9a034d0cc711 /Doc
parent81231d9379490fc6c3d0fa3e2186f3dd8bb068e4 (diff)
downloadcpython-cd1d3ef77bb4385ba59c76986eca75f8d4df8fd7.zip
cpython-cd1d3ef77bb4385ba59c76986eca75f8d4df8fd7.tar.gz
cpython-cd1d3ef77bb4385ba59c76986eca75f8d4df8fd7.tar.bz2
#13233: fix typo.
Diffstat (limited to 'Doc')
-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 ea788d3..767c40f 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -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