my favorite Python 3.15 feature is flattening using `[*ls for ls in [[1], [2]]]`...
Hynek Schlawack @hynek@mastodon.social
my favorite Python 3.15 feature is flattening using `[*ls for ls in [[1], [2]]]` because the old syntax is impossible to remember and no amount of reply-guying “you just have to imagine two for loops bro" has ever changed anything about it: I always added a `flatten()` helper. I can remember the new syntax BECAUSE IT MAKES SENSE 🥲