commit | ce4ba897be5e4fc116f7cf805f38dec48cd5cfea | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Tue Aug 18 17:43:08 1998 +0000 |
committer | Fred Drake <fdrake@acm.org> | Tue Aug 18 17:43:08 1998 +0000 |
tree | ad661749674372cd652bca79eefed2583b19cee4 | |
parent | 71de6c6b747149b79b0d7f5c1192785f045da242 [diff] |
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.