8000 tutorial: remove "with single quotes" by JelleZijlstra · Pull Request #98204 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

tutorial: remove "with single quotes" #98204

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
tutorial: remove "with single quotes"
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.
  • Loading branch information
JelleZijlstra committed Oct 12, 2022
commit 0bc678ff99924d24bc19e1b3f017cd221a58f738
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