]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
tutorial: remove "with single quotes" (GH-98204)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 12 Oct 2022 16:08:56 +0000 (09:08 -0700)
committerPablo Galindo <pablogsal@gmail.com>
Sat, 22 Oct 2022 19:04:41 +0000 (20:04 +0100)
Closes GH-91856.

On Windows double quotes are sometimes better, on Unix usually
single quotes. It's not our place to explain that, so just don't.
(cherry picked from commit 5f8ca1b7969f34ee09adb7b28337ebd920e6215a)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Doc/tutorial/interpreter.rst

index d7f300d93b021b69ec3b2e735d7172cdc35cd049..08851cb8fda01262a09fff89866a5304e15a77e7 100644 (file)
@@ -52,7 +52,7 @@ 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 usually advised to quote
-*command* in its entirety with single quotes.
+*command* in its entirety.
 
 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