diff options
author | Guido van Rossum <guido@python.org> | 1991-12-10 13:59:09 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-12-10 13:59:09 (GMT) |
commit | 2912f22afc11ac5824ce4d2069d2c0025edea9d0 (patch) | |
tree | 610694537dd869bcc6dac0a7c4523c20074611db /Objects | |
parent | bd3a2e6b11816ad32ded60eb0f6e8bc36846a840 (diff) | |
download | cpython-2912f22afc11ac5824ce4d2069d2c0025edea9d0.zip cpython-2912f22afc11ac5824ce4d2069d2c0025edea9d0.tar.gz cpython-2912f22afc11ac5824ce4d2069d2c0025edea9d0.tar.bz2 |
Use IOError.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c index 2000f03..78541d1 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -86,7 +86,7 @@ printobject(op, fp, flags) } if (ret == 0) { if (ferror(fp)) { - err_errno(RuntimeError); + err_errno(IOError); clearerr(fp); ret = -1; } |