[Python-checkins] cpython (3.2): #13233: fix typo.

ezio.melotti python-checkins at python.org
Thu Oct 20 18:53:55 CEST 2011


http://hg.python.org/cpython/rev/1d8fad82c32d
changeset:   73032:1d8fad82c32d
branch:      3.2
parent:      73028:dc96a89ac192
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Thu Oct 20 19:51:18 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
@@ -910,7 +910,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