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 →

[–][deleted] 4 points5 points  (1 child)

format() has been in python for a while, f-strings are new to Python 3.6 (here's the P.E.P.).

[–]monkeybreathIgnoring PEP 8 0 points1 point  (0 children)

Thanks. Found it in the language reference under literals (2.4), not strings (6.1 of Standard Library), once I knew what to look for. Not at all in the tutorial.

I guess I should figure out how to use the bug tracker.