commit | 2912f22afc11ac5824ce4d2069d2c0025edea9d0 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Dec 10 13:59:09 1991 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Dec 10 13:59:09 1991 +0000 |
tree | 610694537dd869bcc6dac0a7c4523c20074611db | |
parent | bd3a2e6b11816ad32ded60eb0f6e8bc36846a840 [diff] [blame] |
Use IOError.
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 @@ } if (ret == 0) { if (ferror(fp)) { - err_errno(RuntimeError); + err_errno(IOError); clearerr(fp); ret = -1; }