summaryrefslogtreecommitdiffstats
path: root/Tools/demo
diff options
context:
space:
mode:
authorLysandros Nikolaou <lisandrosnik@gmail.com>2020-06-19 00:03:58 (GMT)
committerGitHub <noreply@github.com>2020-06-19 00:03:58 (GMT)
commita5442b26f46f1073d1eb78895d554be520105ecb (patch)
tree1a379f5da5dfe6875985fae1c57c6a35ffbf1014 /Tools/demo
parentb1e736113484c99acb57e4acb417b91a9e58e7ff (diff)
downloadcpython-a5442b26f46f1073d1eb78895d554be520105ecb.zip
cpython-a5442b26f46f1073d1eb78895d554be520105ecb.tar.gz
cpython-a5442b26f46f1073d1eb78895d554be520105ecb.tar.bz2
[3.9] bpo-40334: Produce better error messages on invalid targets (GH-20106) (GH-20973)
* bpo-40334: Produce better error messages on invalid targets (GH-20106) The following error messages get produced: - `cannot delete ...` for invalid `del` targets - `... is an illegal 'for' target` for invalid targets in for statements - `... is an illegal 'with' target` for invalid targets in with statements Additionally, a few `cut`s were added in various places before the invocation of the `invalid_*` rule, in order to speed things up. Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> (cherry picked from commit 01ece63d42b830df106948db0aefa6c1ba24416a)
Diffstat (limited to 'Tools/demo')
0 files changed, 0 insertions, 0 deletions