[issue44180] SyntaxError misidentified in 3.10.0b1 when = used instead of : in dict literal
Shreyan Avigyan
report at bugs.python.org
Wed May 19 15:41:46 EDT 2021
Shreyan Avigyan <shreyan.avigyan at gmail.com> added the comment:
Hmmm... Then is it possible to add an exception where the error message will result in,
SyntaxError: cannot assign to literal here. Maybe you meant ':', "==" or ":=" instead of '='?
only if we're dealing with curly braces?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44180>
_______________________________________
More information about the Python-bugs-list
mailing list