summaryrefslogtreecommitdiff
path: root/Lib/sre_parse.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-02-18 04:45:10 +0000
committerTim Peters <tim.peters@gmail.com>2001-02-18 04:45:10 +0000
commit4e30378e807a96346319b946f2dfde7591cc5762 (patch)
tree806376b9a26944e357d40af5fddc22a304f2edfa /Lib/sre_parse.py
parent78349072f7c8f2d3da6f552665f9f381930c3c42 (diff)
downloadcpython-git-4e30378e807a96346319b946f2dfde7591cc5762.tar.gz
Bug #132313 error message confusing for assignment in lambda.
They're actually complaining about something more specific, an assignment in a lambda as an actual argument, so that Python parses the lambda as if it were a keyword argument. Like f(lambda x: x[0]=42). The "lambda x: x[0]" part gets parsed as if it were a keyword, being bound to 42, and the resulting error msg didn't make much sense.
Diffstat (limited to 'Lib/sre_parse.py')
0 files changed, 0 insertions, 0 deletions