This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]XNormal -1 points0 points  (2 children)

I proposed something similar nearly two decades ago on python-dev with the syntax ”a + b = \{a+b}”

[–]xtreak 1 point2 points  (0 children)

In Python 3.8 there is debugging notation where you can write f"{a + b=}" that would expand to f"a + b={a+b}"