commit | 72b56e831fdc35f06b5e3aa7d071879d3b6df762 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sun Dec 10 04:57:42 1995 +0000 |
committer | Guido van Rossum <guido@python.org> | Sun Dec 10 04:57:42 1995 +0000 |
tree | e1c720fd389fa75ee506820ea3d3c75338501464 | |
parent | 9cfea10bf2fbebd65a2f81e60bc48576c905ee9e [diff] |
don't return from main loop when error occurs
diff --git a/Python/ceval.c b/Python/ceval.c index be1e174..35c8998 100644 --- a/Python/ceval.c +++ b/Python/ceval.c
@@ -1535,7 +1535,8 @@ else { err_setstr(TypeError, "unbound method must be called with class instance 1st argument"); - return NULL; + x = NULL; + break; } } }