[docs] Confusing comment in docs for 3.2.2 section 2.1

Sandro Tosi sandro.tosi at gmail.com
Mon Oct 31 17:18:21 CET 2011

Hello AJ,

On Mon, Sep 26, 2011 at 14:55, AJ Hill <ajhill007 at gmail.com> wrote:
> To the wonderful folks who look after the Python docs,
> There is a confusing comment in the last paragraph of section 2.1, Invoking
> the Python Interpreter, of the 3.2.2 docs.
> Here is the page URL:
> http://docs.python.org/py3k/tutorial/interpreter.html#invoking-the-interpreter
> Here is the text I am referring to:
>> 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 -i
>> before the script. (This does not work if the script is read from standard
>> input, for the same reason as explained in the previous paragraph.)
> The last sentence refers to the previous paragraph (copied here):
>> 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.
> I do not see the connection; it does not seem to explain why you can run a
> script and enter interactive mode, but not if the script is included through
> standard input.

That sentence was referring to a paragraph that was removed in the
commit r87523, so I've now removed that line, since it's no more

Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

More information about the docs mailing list