osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strings: double versus single quotes


On 05/19/2020 11:40 AM, Joel Goldstick wrote:

> I thought triple quotes are for docstrings?

It's the recommendation, but double and single quotes work just fine, too -- at least for docstrings that fit an one line.

--
~Ethan~