Lines Matching refs:quotes
29 text = "# This is not a comment because it's inside quotes."
138 in several ways. They can be enclosed in single quotes (``'...'``) or
139 double quotes (``"..."``) with the same result [#]_. ``\`` can be used
140 to escape quotes::
142 >>> 'spam eggs' # single quotes
146 >>> "doesn't" # ...or use double quotes instead
155 In the interactive interpreter, the output string is enclosed in quotes and
157 look different from the input (the enclosing quotes could change), the two
158 strings are equivalent. The string is enclosed in double quotes if
159 the string contains a single quote and no double quotes, otherwise it is
160 enclosed in single quotes. The :func:`print` function produces a more
161 readable output, by omitting the enclosing quotes and by printing escaped
185 String literals can span multiple lines. One way is using triple-quotes:
211 Two or more *string literals* (i.e. the ones enclosed between quotes) next
517 floating point quantities, and strings. Strings are printed without quotes,
543 same meaning with both single (``'...'``) and double (``"..."``) quotes.
544 The only difference between the two is that within single quotes you don't