]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-33877: Remove UNIX qualification for running complete programs (GH-7744)
authorAndrés Delfino <adelfino@gmail.com>
Fri, 22 Jun 2018 21:31:03 +0000 (18:31 -0300)
committerTerry Jan Reedy <tjreedy@udel.edu>
Fri, 22 Jun 2018 21:31:03 +0000 (17:31 -0400)
The statement is true for Windows (and macOS) also.

Doc/reference/toplevel_components.rst

index e1687ff04d328683af030149e76c4c202c81b2af..d5ffb37b2e58cde69f65d4ea134b521e2c4edb08 100644 (file)
@@ -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: