wyz23x2 <wyz2...@163.com> added the comment:

There is nothing *wrong* with the syntax; it's just a regular assignment.
It's not something like `False = 4` or `while = 6` which '=' is invalid.

----------
nosy: +wyz23x2
title: Syntax error rather than run time error -> SyntaxError rather than 
NameError error

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41392>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to