Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f0cdbad

Browse files
committed
always clear parser error
1 parent b58359c commit f0cdbad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/parsermodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,8 +583,8 @@ parser_do_parse(PyObject *args, PyObject *kw, char *argspec, int type)
583583
}
584584
else {
585585
PyParser_SetError(&err);
586-
PyParser_ClearError(&err);
587586
}
587+
PyParser_ClearError(&err);
588588
}
589589
return (res);
590590
}

0 commit comments

Comments
 (0)