[Python-checkins] tutorial: remove "with single quotes" (#98204)

JelleZijlstra webhook-mailer at python.org
Wed Oct 12 12:01:01 EDT 2022


https://github.com/python/cpython/commit/5f8ca1b7969f34ee09adb7b28337ebd920e6215a
commit: 5f8ca1b7969f34ee09adb7b28337ebd920e6215a
branch: main
author: Jelle Zijlstra <jelle.zijlstra at gmail.com>
committer: JelleZijlstra <jelle.zijlstra at gmail.com>
date: 2022-10-12T09:00:51-07:00
summary:

tutorial: remove "with single quotes" (#98204)

Closes #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.

files:
M Doc/tutorial/interpreter.rst

diff --git a/Doc/tutorial/interpreter.rst b/Doc/tutorial/interpreter.rst
index 9bee046809eb..b71c61089e6d 100644
--- a/Doc/tutorial/interpreter.rst
+++ b/Doc/tutorial/interpreter.rst
@@ -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



More information about the Python-checkins mailing list