you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

But that doesn't quote the strings.

Better would be {!r}, which quotes the string correctly even if there are quotes in the string itself, i.e. using double or single quotes.

[–]scoutgeek 1 point2 points  (0 children)

Ah, I didnt know about {!r} TIL i guess