Ronald Oussoren <ronaldousso...@mac.com> added the comment:

I don't know if this limitation is intentional, but not that you can use an 
assignment expression when you enclose the expression with parenthesis:

>>> assert (a:=1)
>>> a
1
>>>

----------
nosy: +ronaldoussoren

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

Reply via email to