From cd1d3ef77bb4385ba59c76986eca75f8d4df8fd7 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Thu, 20 Oct 2011 19:51:18 +0300 Subject: #13233: fix typo. --- Doc/library/os.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12