[Python-checkins] r63819 - python/trunk/Doc/tutorial/interpreter.rst

georg.brandl python-checkins at python.org
Fri May 30 21:17:29 CEST 2008


Author: georg.brandl
Date: Fri May 30 21:17:29 2008
New Revision: 63819

Log:
Better quote with single quotes.


Modified:
   python/trunk/Doc/tutorial/interpreter.rst

Modified: python/trunk/Doc/tutorial/interpreter.rst
==============================================================================
--- python/trunk/Doc/tutorial/interpreter.rst	(original)
+++ python/trunk/Doc/tutorial/interpreter.rst	Fri May 30 21:17:29 2008
@@ -51,8 +51,8 @@
 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


More information about the Python-checkins mailing list