]> granicus.if.org Git - python/commit
Raise the right exception (ValueError) for attempted I/O on closed StringIO
authorFred Drake <fdrake@acm.org>
Tue, 18 Aug 1998 17:43:08 +0000 (17:43 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 18 Aug 1998 17:43:08 +0000 (17:43 +0000)
commitce4ba897be5e4fc116f7cf805f38dec48cd5cfea
treead661749674372cd652bca79eefed2583b19cee4
parent71de6c6b747149b79b0d7f5c1192785f045da242
Raise the right exception (ValueError) for attempted I/O on closed StringIO
objects; this makes the emulation of file objects a bit better, and the
exceptions explain things a bit better.
Lib/StringIO.py