From f0cdbad1b3c8b962c2bdce9ced843d7576db1810 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 5 Jun 2011 22:14:05 -0500 Subject: always clear parser error --- Modules/parsermodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index 1ffa896..f1679d7 100644 --- a/Modules/parsermodule.c +++ b/Modules/parsermodule.c @@ -583,8 +583,8 @@ parser_do_parse(PyObject *args, PyObject *kw, char *argspec, int type) } else { PyParser_SetError(&err); - PyParser_ClearError(&err); } + PyParser_ClearError(&err); } return (res); } -- cgit v0.12