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 | 2df8221fc9c3f0a782b68bf615c680191d20b5e0 (patch) | |
tree | ceace467aeaf7365c6cc59e9446d54174ce6a214 /Python/Python-ast.c | |
parent | a274b4879162eb199ec051f1540a1f700954ab39 (diff) | |
download | cpython-2df8221fc9c3f0a782b68bf615c680191d20b5e0.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/Python-ast.c')
0 files changed, 0 insertions, 0 deletions