From d4712ba1453acb62f570d395a17b216296451994 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Delfino?= Date: Sat, 16 Jun 2018 00:36:15 -0300 Subject: [PATCH 1/2] bpo-33877: Mention Windows along UNIX --- Doc/reference/toplevel_components.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Doc/reference/toplevel_components.rst b/Doc/reference/toplevel_components.rst index e1687ff04d3286..a36d6ccc0ac338 100644 --- a/Doc/reference/toplevel_components.rst +++ b/Doc/reference/toplevel_components.rst @@ -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. +Under Unix and Windows, 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: From 853df721bd60bbaca816175f28274b5c04ff1f65 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Fri, 22 Jun 2018 17:13:56 -0400 Subject: [PATCH 2/2] Update toplevel_components.rst --- Doc/reference/toplevel_components.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/reference/toplevel_components.rst b/Doc/reference/toplevel_components.rst index a36d6ccc0ac338..d5ffb37b2e58cd 100644 --- a/Doc/reference/toplevel_components.rst +++ b/Doc/reference/toplevel_components.rst @@ -52,7 +52,7 @@ a complete program; each statement is executed in the namespace of single: command line single: standard input -Under Unix and Windows, a complete program can be passed to the interpreter +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;