commit | ce77defd845b56a1910143568e5827c66dfca1ae | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Fri May 20 11:49:06 2011 -0500 |
committer | Benjamin Peterson <benjamin@python.org> | Fri May 20 11:49:06 2011 -0500 |
tree | 7625e661e11a243e0c062e03d1d3951c55ece508 | |
parent | 30e10d8114b68613f35e98159eb428f0be0cb769 [diff] [blame] |
this should actually be an IOError
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 0466da4..7915b22 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst
@@ -928,7 +928,7 @@ 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.