-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Open
@serhiy-storchaka
Description
Bug report
>>> ((a) := 1) File "<python-input-0>", line 1 ((a) := 1) ^ SyntaxError: cannot use assignment expressions with name
Of course, it can. You only need to remove parentheses around the name.
>>> (a := 1) 1