Kaydet (Commit) 72b56e83 authored tarafından Guido van Rossum's avatar Guido van Rossum

don't return from main loop when error occurs

üst 9cfea10b
...@@ -1535,7 +1535,8 @@ eval_code2(co, globals, locals, ...@@ -1535,7 +1535,8 @@ eval_code2(co, globals, locals,
else { else {
err_setstr(TypeError, err_setstr(TypeError,
"unbound method must be called with class instance 1st argument"); "unbound method must be called with class instance 1st argument");
return NULL; x = NULL;
break;
} }
} }
} }
......
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