mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
bpo-36817: Do not decrement reference for expr_text on fstring = parsing failure (GH-13256)
This commit is contained in:
parent
5833e94d86
commit
26f55c29f2
2 changed files with 2 additions and 1 deletions
|
@ -5283,7 +5283,6 @@ unexpected_end_of_string:
|
|||
/* Falls through to error. */
|
||||
|
||||
error:
|
||||
Py_XDECREF(expr_text);
|
||||
return -1;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue