[Python-checkins] bpo-33877: Remove UNIX qualification for running complete programs (GH-7744)

Terry Jan Reedy webhook-mailer at python.org
Fri Jun 22 17:31:06 EDT 2018


https://github.com/python/cpython/commit/c9d43c702a53804c23ecb22a0dbf6a47c804d2b1
commit: c9d43c702a53804c23ecb22a0dbf6a47c804d2b1
branch: master
author: Andrés Delfino <adelfino at gmail.com>
committer: Terry Jan Reedy <tjreedy at udel.edu>
date: 2018-06-22T17:31:03-04:00
summary:

bpo-33877: Remove UNIX qualification for running complete programs (GH-7744)

The statement is true for Windows (and macOS) also.

files:
M Doc/reference/toplevel_components.rst

diff --git a/Doc/reference/toplevel_components.rst b/Doc/reference/toplevel_components.rst
index e1687ff04d32..d5ffb37b2e58 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:



More information about the Python-checkins mailing list