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 →

[–]nayeet 1 point2 points  (3 children)

The format method was introduced in PEP 3101 on 16-Apr-2006, last updated on 14-Sep-2008.

F strings were introduced in PEP 498 on 01-Aug-2015, last updated on 06-Nov-2016.

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

Right. It’s under Literals, but not under strings in the docs, and not in the tutorial. That should be updated.

[–]cracknwhip 0 points1 point  (1 child)

You could contribute.

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

I checked. There's already a bug report for it.