diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/os.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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 |