Apparently I'm going to have some articles, screencasts, and curriculum to update after 3.15 is released! ๐Ÿ˜…

Python SC accepted PEP 798

PEP: peps.python.org/pep-0798/

Acceptance: discuss.python.org/t/pep-798-u

So this:
[*row for row in list_of_lists]

Will do the same thing as this:
[x for row in list_of_lists for x in row]

I often tell new learners that there are 4-ish uses of * and 3 uses of **. That'll now be 5-ish uses of * and 4 uses of **.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/treyhunner/statuses/115487764221802851 on your instance and quote it. (Note that quoting is not supported in Mastodon.)