]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#13233: fix typo.
authorEzio Melotti <ezio.melotti@gmail.com>
Thu, 20 Oct 2011 16:51:18 +0000 (19:51 +0300)
committerEzio Melotti <ezio.melotti@gmail.com>
Thu, 20 Oct 2011 16:51:18 +0000 (19:51 +0300)
Doc/library/os.rst

index ea788d31f86a908b7994b5040d16edc93bee593f..767c40f39aad09612ec645eb140084434eb16b24 100644 (file)
@@ -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