don't return from main loop when error occurs

This commit is contained in:
Guido van Rossum 1995-12-10 04:57:42 +00:00
parent 9cfea10bf2
commit 72b56e831f

View file

@ -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;
} }
} }
} }