Good answer (edited for space) to "Why use double-quotes in ?" from the Black docs:

"They anticipate apostrophes in English text. They match the docstring standard in PEP 257. An empty string in double quotes ("") is impossible to confuse with a single double-quote. Double quotes for strings are consistent with C, which Python interacts a lot with."

Sign in to participate in the conversation

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.