Skip to content

Commit c9d43c7

Browse files
andresdelfinoterryjreedy
authored andcommitted
bpo-33877: Remove UNIX qualification for running complete programs (GH-7744)
The statement is true for Windows (and macOS) also.
1 parent d7da836 commit c9d43c7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Doc/reference/toplevel_components.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,15 @@ a complete program; each statement is executed in the namespace of
4848

4949
.. index::
5050
single: UNIX
51+
single: Windows
5152
single: command line
5253
single: standard input
5354

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
57-
input is a tty device, the interpreter enters interactive mode; otherwise, it
58-
executes the file as a complete program.
55+
A complete program can be passed to the interpreter
56+
in three forms: with the :option:`-c` *string* command line option, as a file
57+
passed as the first command line argument, or as standard input. If the file
58+
or standard input is a tty device, the interpreter enters interactive mode;
59+
otherwise, it executes the file as a complete program.
5960

6061

6162
.. _file-input:

0 commit comments

Comments
 (0)