Assign expression / walrus operator is 3.8+ #9820
Labels
Assignment expression
Related to the walrus operator / assignment expression
Enhancement ✨
Improvement to a component
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
py-version
python 3.8
Milestone
Current problem
if (x := f()): ...
was introduced in Python 3.8.Desired solution
If
py-version
< 3.8, flag it.Additional context
No response
The text was updated successfully, but these errors were encountered: