From: Georg Brandl Date: Fri, 30 May 2008 19:17:29 +0000 (+0000) Subject: Better quote with single quotes. X-Git-Tag: v2.6b1~193 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c5a235bb55ebaeb09e42e7ba78b0f8bfe32fd490;p=thirdparty%2FPython%2Fcpython.git Better quote with single quotes. --- diff --git a/Doc/tutorial/interpreter.rst b/Doc/tutorial/interpreter.rst index 5baf73d43cc6..c9ceaf69907c 100644 --- a/Doc/tutorial/interpreter.rst +++ b/Doc/tutorial/interpreter.rst @@ -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