Skip to content

Commit

Permalink
bpo-33877: Remove UNIX qualification for running complete programs (p…
Browse files Browse the repository at this point in the history
…ythonGH-7744)

The statement is true for Windows (and macOS) also.
(cherry picked from commit c9d43c7)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
  • Loading branch information
andresdelfino authored and miss-islington committed Jun 22, 2018
1 parent e4db730 commit 64d0d6f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Doc/reference/toplevel_components.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 64d0d6f

Please sign in to comment.