mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
always clear parser error
This commit is contained in:
parent
b58359cca8
commit
f0cdbad1b3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue