diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-06-06 03:14:05 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-06-06 03:14:05 (GMT) |
commit | f0cdbad1b3c8b962c2bdce9ced843d7576db1810 (patch) | |
tree | 5eb17fd52c7e58f4d0a021d61d953d6684d3fbcc | |
parent | b58359cca86c05b3fad185aeb7f754f9a7d318ab (diff) | |
download | cpython-f0cdbad1b3c8b962c2bdce9ced843d7576db1810.zip cpython-f0cdbad1b3c8b962c2bdce9ced843d7576db1810.tar.gz cpython-f0cdbad1b3c8b962c2bdce9ced843d7576db1810.tar.bz2 |
always clear parser error
-rw-r--r-- | Modules/parsermodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |