summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-06-22 14:51:07 -0700
committerGitHub <noreply@github.com>2018-06-22 14:51:07 -0700
commitf47d8983fe35239cccf4e623e4ad70c9e0f636f9 (patch)
tree1cdaa2885b95df5cdebc26bb302475aa42e5f65d
parente4db73058b6c31f71c64d0f87a10547f3cf72f20 (diff)
downloadcpython-git-f47d8983fe35239cccf4e623e4ad70c9e0f636f9.tar.gz
bpo-33877: Remove UNIX qualification for running complete programs (GH-7744)
The statement is true for Windows (and macOS) also. (cherry picked from commit c9d43c702a53804c23ecb22a0dbf6a47c804d2b1) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
-rw-r--r--Doc/reference/toplevel_components.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/Doc/reference/toplevel_components.rst b/Doc/reference/toplevel_components.rst
index e1687ff04d..d5ffb37b2e 100644
--- a/Doc/reference/toplevel_components.rst
+++ b/Doc/reference/toplevel_components.rst
@@ -48,14 +48,15 @@ a complete program; each statement is executed in the namespace of
.. index::
single: UNIX
+ single: Windows
single: command line
single: standard input
-Under Unix, a complete program can be passed to the interpreter in three forms:
-with the :option:`-c` *string* command line option, as a file passed as the
-first command line argument, or as standard input. If the file or standard
-input is a tty device, the interpreter enters interactive mode; otherwise, it
-executes the file as a complete program.
+A complete program can be passed to the interpreter
+in three forms: with the :option:`-c` *string* command line option, as a file
+passed as the first command line argument, or as standard input. If the file
+or standard input is a tty device, the interpreter enters interactive mode;
+otherwise, it executes the file as a complete program.
.. _file-input: