Fix Issue 10303: a small clarification in the tutorial.

This commit is contained in:
Senthil Kumaran 2010-11-08 01:53:13 +00:00
parent ab19bd449a
commit a0fa1ce335
1 changed files with 2 additions and 2 deletions

View File

@ -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