mirror of
https://github.com/python/cpython
synced 2024-11-02 05:41:35 +00:00
ce21cfca7b
This commit fixes the new parser to disallow invalid targets in the following scenarios: - Augmented assignments must only accept a single target (Name, Attribute or Subscript), but no tuples or lists. - `except` clauses should only accept a single `Name` as a target. Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> |
||
---|---|---|
.. | ||
parse.c | ||
parse_string.c | ||
parse_string.h | ||
peg_api.c | ||
pegen.c | ||
pegen.h |