From: Ezio Melotti Date: Thu, 20 Oct 2011 16:51:18 +0000 (+0300) Subject: #13233: fix typo. X-Git-Tag: v3.2.3rc1~483 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cd1d3ef77bb4385ba59c76986eca75f8d4df8fd7;p=thirdparty%2FPython%2Fcpython.git #13233: fix typo. --- diff --git a/Doc/library/os.rst b/Doc/library/os.rst index ea788d31f86a..767c40f39aad 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