summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorAndrew Kuchling <amk@amk.ca>2014-04-15 21:11:36 -0400
committerAndrew Kuchling <amk@amk.ca>2014-04-15 21:11:36 -0400
commit2df8221fc9c3f0a782b68bf615c680191d20b5e0 (patch)
treeceace467aeaf7365c6cc59e9446d54174ce6a214 /Python/Python-ast.c
parenta274b4879162eb199ec051f1540a1f700954ab39 (diff)
downloadcpython-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