diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-05-20 16:49:19 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-05-20 16:49:19 (GMT) |
commit | 619323c68fe3b701fb3e50ee382ceec32f72c4fa (patch) | |
tree | 373a8299c89598761fba2a1a3c555bb3e305fe3b /Doc/library | |
parent | c7dd737ef712b9b847dae35422ce3c64efc3d580 (diff) | |
parent | 2340986fe0a4637c6afdda81953973badfaaba73 (diff) | |
download | cpython-619323c68fe3b701fb3e50ee382ceec32f72c4fa.zip cpython-619323c68fe3b701fb3e50ee382ceec32f72c4fa.tar.gz cpython-619323c68fe3b701fb3e50ee382ceec32f72c4fa.tar.bz2 |
merge 3.1
Diffstat (limited to 'Doc/library')
-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 4a0c7dc..17db9a2 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -907,7 +907,7 @@ Files and Directories try: fp = open("myfile") - except OSError as e: + except IOError as e: if e.errno == errno.EACCESS: return "some default data" # Not a permission error. |