diff options
| author | Benjamin Peterson <benjamin@python.org> | 2011-05-20 11:49:06 -0500 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2011-05-20 11:49:06 -0500 |
| commit | 2340986fe0a4637c6afdda81953973badfaaba73 (patch) | |
| tree | 6f23ff9c1cd404e37b9328fc910d9eccc203a2b0 /Doc | |
| parent | 249b508c98d99597c170bdb9d6a4b1d56d839ebd (diff) | |
| download | cpython-git-2340986fe0a4637c6afdda81953973badfaaba73.tar.gz | |
this should actually be an IOError
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 e6bafced8f..187e44a032 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -784,7 +784,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. |
