bpo-33877: Remove UNIX qualification for running complete programs (G… · python/cpython@f47d898

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: