Apparently I'm going to have some articles, screencasts, and curriculum to update after 3.15 is released! ๐
Python SC accepted PEP 798
PEP: https://peps.python.org/pep-0798/
Acceptance: https://discuss.python.org/t/pep-798-unpacking-in-comprehensions/99435/60
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 #Python learners that there are 4-ish uses of * and 3 uses of **. That'll now be 5-ish uses of * and 4 uses of **.
