Skip to content

Commit

Permalink
tutorial: remove "with single quotes" (GH-98204)
Browse files Browse the repository at this point in the history
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 5f8ca1b)

Co-authored-by: Jelle Zijlstra <[email protected]>
  • Loading branch information
2 people authored and pablogsal committed Oct 22, 2022
1 parent 0f3c5ab commit b636023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/tutorial/interpreter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b636023

Please sign in to comment.