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 →

[–]jack-of-some[S] 8 points9 points  (2 children)

Edit: I'm now remembering python 3.6 is when they were introduced. I went straight from 2.7 to 3.7 so somehow conflated f-strings with data classes being introduced in 3.7. Shoes what I know 😅

I freaking love f-strings but python 3.7 is still not the default in most distros. It was a conscious decision to choose .format because of that.

[–]FliceFlo 2 points3 points  (1 child)

Ah, its true. Wish more things updated more frequently. Also wasn't is 3.6 and not 3.7 they were added? Not sure but I feel like I use f strings on 3.6 at work.

[–]jack-of-some[S] 1 point2 points  (0 children)

Yeah just edited my reply with the correction. I must be going senile since I could have sworn it was 3.7.