Not. They are identical. The only difference is that the first may contain a sequence of three captive double quotes, and the second may contain a sequence of three captive single quotes. (In other words, since the delimiters are different, there is a slight difference in which characters you can use inside them.)
Docstrings are just regular strings, and in Python there is no difference between different line breaks, except of course you cannot use a line break inside a string.
Brenbarn
source share