diff options
author | Andrés Delfino <adelfino@gmail.com> | 2018-06-22 21:31:03 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2018-06-22 21:31:03 (GMT) |
commit | c9d43c702a53804c23ecb22a0dbf6a47c804d2b1 (patch) | |
tree | c5b20833ab39ca930cd63a282ecd3c1a16f304bb /Doc/reference/toplevel_components.rst | |
parent | d7da836c748968ef615a1be5d2f8aee2e99ca78f (diff) | |
download | cpython-c9d43c702a53804c23ecb22a0dbf6a47c804d2b1.zip cpython-c9d43c702a53804c23ecb22a0dbf6a47c804d2b1.tar.gz cpython-c9d43c702a53804c23ecb22a0dbf6a47c804d2b1.tar.bz2 |
bpo-33877: Remove UNIX qualification for running complete programs (GH-7744)
The statement is true for Windows (and macOS) also.
Diffstat (limited to 'Doc/reference/toplevel_components.rst')
-rw-r--r-- | Doc/reference/toplevel_components.rst | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Doc/reference/toplevel_components.rst b/Doc/reference/toplevel_components.rst index e1687ff..d5ffb37 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: |