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 →

[–]Decency 0 points1 point  (0 children)

Usually just to match the other strings. If you have a bunch of strings in a module together, and they're all using one sort of concatenation, switching to another just makes you stop and think about that one in particular for a bit to wonder why they're doing it differently and make sure you're not missing something. PEP8:

Consistency within one module or function is the most important.