diff Objects/object.c @ 473:4a7f0f06cd27 legacy-trunk

Use IOError.
author Guido van Rossum <guido@python.org>
date Tue, 10 Dec 1991 13:59:09 +0000
parents 1a6cf1f8ccec
children 8414e1f9a5fe
line wrap: on
line diff
--- a/Objects/object.c	Tue Dec 10 13:58:49 1991 +0000
+++ b/Objects/object.c	Tue Dec 10 13:59:09 1991 +0000
@@ -86,7 +86,7 @@
 	}
 	if (ret == 0) {
 		if (ferror(fp)) {
-			err_errno(RuntimeError);
+			err_errno(IOError);
 			clearerr(fp);
 			ret = -1;
 		}