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
1 changed files with 2 additions and 1 deletions

View File

@ -1535,7 +1535,8 @@ eval_code2(co, globals, locals,
else {
err_setstr(TypeError,
"unbound method must be called with class instance 1st argument");
return NULL;
x = NULL;
break;
}
}
}