Re:What’s New in Python 3.8
by thayne on Monday October 14, 2019 @07:15PM
(#21253902)
There have been many times when I've wished python had something like the walrus operator.
In particular, without the walrus operator you can't write an if-elif chain of regex comparisons. The best way to that that I've been able to find is with a bunch of nested if-else statements.
In particular, without the walrus operator you can't write an if-elif chain of regex comparisons. The best way to that that I've been able to find is with a bunch of nested if-else statements.