summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-12-28 09:18:24 (GMT)
committerGeorg Brandl <georg@python.org>2010-12-28 09:18:24 (GMT)
commitfcf3a0c55bc38943647d9145e214ca3b6f8b5577 (patch)
tree8b0f3b12ef6d27c8d00871e47bffdd0c8e274f17
parent2a39b71ecc7804ec6bbfe89b46e41aa777fff471 (diff)
downloadcpython-fcf3a0c55bc38943647d9145e214ca3b6f8b5577.zip
cpython-fcf3a0c55bc38943647d9145e214ca3b6f8b5577.tar.gz
cpython-fcf3a0c55bc38943647d9145e214ca3b6f8b5577.tar.bz2
Remove confusing paragraph -- this is relevant only to advanced users anyway and does not belong into the tutorial.
-rw-r--r--Doc/tutorial/interpreter.rst8
1 files changed, 0 insertions, 8 deletions
diff --git a/Doc/tutorial/interpreter.rst b/Doc/tutorial/interpreter.rst
index 20fae9a..8d743de 100644
--- a/Doc/tutorial/interpreter.rst
+++ b/Doc/tutorial/interpreter.rst
@@ -58,14 +58,6 @@ Some Python modules are also useful as scripts. These can be invoked using
``python -m module [arg] ...``, which executes the source file for *module* as
if you had spelled out its full name on the command line.
-Note that there is a difference between ``python file`` and ``python
-<file``. In the latter case, input requests from the program, such as calling
-``sys.stdin.read()``, are satisfied from *file*. Since this file has already
-been read until the end by the parser before the program starts executing, the
-program will encounter end-of-file immediately. In the former case (which is
-usually what you want) they are satisfied from whatever file or device is
-connected to standard input of the Python interpreter.
-
When a script file is used, it is sometimes useful to be able to run the script
and enter interactive mode afterwards. This can be done by passing :option:`-i`
before the script. (This does not work if the script is read from standard