diff options
author | Andrew Kuchling <amk@amk.ca> | 2014-04-15 21:11:36 -0400 |
---|---|---|
committer | Andrew Kuchling <amk@amk.ca> | 2014-04-15 21:11:36 -0400 |
commit | 764662020ba496164bf8dcb96d93c519f0968405 (patch) | |
tree | 84f53d4d960fa87fe24dbcd923a16f5bc3e7b1b7 /Python/formatter_unicode.c | |
parent | fc1020d39603418b1c10a5a68b4a195133b4b955 (diff) | |
download | cpython-git-764662020ba496164bf8dcb96d93c519f0968405.tar.gz |
#15840: make docs consistent by saying operations on closed files raise ValueError.
Patch by Caelyn McAulay.
Neither Caelyn nor I could find any cases in 2.7 or 3.4/5 where an
operation on a closed stream raised IOError; generally the C
implementations have a macro to check for the stream being closed, and
these macros all raised ValueError. If we find any, a new bug should
be opened.
Diffstat (limited to 'Python/formatter_unicode.c')
0 files changed, 0 insertions, 0 deletions