Commit f0cdbad1 authored by Benjamin Peterson's avatar Benjamin Peterson

always clear parser error

parent b58359cc
...@@ -583,8 +583,8 @@ parser_do_parse(PyObject *args, PyObject *kw, char *argspec, int type) ...@@ -583,8 +583,8 @@ parser_do_parse(PyObject *args, PyObject *kw, char *argspec, int type)
} }
else { else {
PyParser_SetError(&err); PyParser_SetError(&err);
PyParser_ClearError(&err);
} }
PyParser_ClearError(&err);
} }
return (res); return (res);
} }
......
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