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. -- https://mail.python.org/mailman/listinfo/python-list