bpo-40618: Disallow invalid targets in augassign and except clauses (GH-20083)
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>
L
Lysandros Nikolaou committed
ce21cfca7bb2d18921bc4ac27cb064726996c519
Parent: bcc3036
Committed by GitHub <noreply@github.com>
on 5/14/2020, 8:13:50 PM