From: Andrés Delfino Date: Sat, 23 Jun 2018 02:37:17 +0000 (-0300) Subject: [2.7] bpo-33877: Remove UNIX qualification for running complete programs (GH-7744) X-Git-Tag: v2.7.16rc1~235 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c9a72cc99d4f76a18755d7227bd1c375e44b4ad;p=thirdparty%2FPython%2Fcpython.git [2.7] 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 --- diff --git a/Doc/reference/toplevel_components.rst b/Doc/reference/toplevel_components.rst index 304abac7cd0c..44196f746ce2 100644 --- a/Doc/reference/toplevel_components.rst +++ b/Doc/reference/toplevel_components.rst @@ -51,11 +51,11 @@ a complete program; each statement is executed in the namespace of 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: