[Python-checkins] cpython (2.7): #13233: fix typo.
ezio.melotti
python-checkins at python.org
Thu Oct 20 18:54:49 CEST 2011
http://hg.python.org/cpython/rev/8bf9724dcd49
changeset: 73034:8bf9724dcd49
branch: 2.7
parent: 73030:14a84d27eb68
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Thu Oct 20 19:49:29 2011 +0300
summary:
#13233: fix typo.
files:
Doc/library/os.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -936,7 +936,7 @@
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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list