Kaydet (Commit) 2912f22a authored tarafından Guido van Rossum's avatar Guido van Rossum

Use IOError.

üst bd3a2e6b
......@@ -86,7 +86,7 @@ printobject(op, fp, flags)
}
if (ret == 0) {
if (ferror(fp)) {
err_errno(RuntimeError);
err_errno(IOError);
clearerr(fp);
ret = -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment