mirror of https://github.com/python/cpython
Merged revisions 86310 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86310 | senthil.kumaran | 2010-11-08 09:53:13 +0800 (Mon, 08 Nov 2010) | 3 lines Fix Issue 10303: a small clarification in the tutorial. ........
This commit is contained in:
parent
e4be72197f
commit
43d8cd8056
|
@ -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
|
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
|
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
|
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
|
it's enclosed in single quotes. The :func:`print` function produces a more
|
||||||
produces the more readable output.
|
readable output for such input strings.
|
||||||
|
|
||||||
String literals can span multiple lines in several ways. Continuation lines can
|
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
|
be used, with a backslash as the last character on the line indicating that the
|
||||||
|
|
Loading…
Reference in New Issue