2 ms·
f-strings mainly. The walrus operator is great because it's so easy to do lisp things with it
by wyattblue 2y ago
f-strings mainly. The walrus operator is great because it's so easy to do lisp things with it
- zahlman 2y ago3.6 was the version that introduced f-strings. 3.8 added the unrelated walrus operator, but it did also add the `=` debugging syntax for f-strings (I haven't been using it because doing it the old way is practically muscle memory, and the code isn't supposed to be permanent anyway). Ref: https://docs.python.org/3/whatsnew/3.8.html https://docs.python.org/3/whatsnew/3.8.html
- deleted 2y ago[deleted]