Skip to content

Commit 1c9a72c

Browse files
andresdelfinoterryjreedy
authored andcommitted
[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 c9d43c7) Co-authored-by: Andrés Delfino <[email protected]>
1 parent 319cfb5 commit 1c9a72c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Doc/reference/toplevel_components.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ a complete program; each statement is executed in the namespace of
5151
single: command line
5252
single: standard input
5353

54-
Under Unix, a complete program can be passed to the interpreter in three forms:
55-
with the :option:`-c` *string* command line option, as a file passed as the
56-
first command line argument, or as standard input. If the file or standard input
57-
is a tty device, the interpreter enters interactive mode; otherwise, it executes
58-
the file as a complete program.
54+
A complete program can be passed to the interpreter
55+
in three forms: with the :option:`-c` *string* command line option, as a file
56+
passed as the first command line argument, or as standard input. If the file
57+
or standard input is a tty device, the interpreter enters interactive mode;
58+
otherwise, it executes the file as a complete program.
5959

6060

6161
.. _file-input:

0 commit comments

Comments
 (0)