mirror of https://github.com/python/cpython
Fix Issue 10303: a small clarification in the tutorial.
This commit is contained in:
parent
ab19bd449a
commit
a0fa1ce335
|
@ -194,8 +194,8 @@ The interpreter prints the result of string operations in the same way as they
|
|||
are typed for input: inside quotes, and with quotes and other funny characters
|
||||
escaped by backslashes, to show the precise value. The string is enclosed in
|
||||
double quotes if the string contains a single quote and no double quotes, else
|
||||
it's enclosed in single quotes. Once again, the :func:`print` function
|
||||
produces the more readable output.
|
||||
it's enclosed in single quotes. The :func:`print` function produces a more
|
||||
readable output for such input strings.
|
||||
|
||||
String literals can span multiple lines in several ways. Continuation lines can
|
||||
be used, with a backslash as the last character on the line indicating that the
|
||||
|
|
Loading…
Reference in New Issue