On 2024-05-29, Mats Wichmann via Python-list <python-list@python.org> wrote: > On 5/29/24 08:02, Grant Edwards via Python-list wrote: >> On 2024-05-29, Chris Angelico via Python-list <python-list@python.org> wrote: >> >>> print(f"if block {name[index]=} {index=}") >> >> Holy cow! How did I not know about the f-string {=} thing? > > It's more recent than f-strings in general, so it's not that hard to miss.
I really should make a habit of reading through the "what's new" pages when new releases come out... -- Grant -- https://mail.python.org/mailman/listinfo/python-list