]> granicus.if.org Git - python/commitdiff
Better quote with single quotes.
authorGeorg Brandl <georg@python.org>
Fri, 30 May 2008 19:17:29 +0000 (19:17 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 30 May 2008 19:17:29 +0000 (19:17 +0000)
Doc/tutorial/interpreter.rst

index 5baf73d43cc6a966de81c8fae9827bf7435869a8..c9ceaf69907c864923d75578cfc7d907652e0395 100644 (file)
@@ -51,8 +51,8 @@ and executes a *script* from that file.
 A second way of starting the interpreter is ``python -c command [arg] ...``,
 which executes the statement(s) in *command*, analogous to the shell's
 :option:`-c` option.  Since Python statements often contain spaces or other
-characters that are special to the shell, it is best to quote  *command* in its
-entirety with double quotes.
+characters that are special to the shell, it is usually advised to quote
+*command* in its entirety with single quotes.
 
 Some Python modules are also useful as scripts.  These can be invoked using
 ``python -m module [arg] ...``, which executes the source file for *module* as