[Python-checkins] bpo-32050: Fix -x option documentation (#4423)
Victor Stinner
webhook-mailer at python.org
Mon Nov 20 10:08:47 EST 2017
https://github.com/python/cpython/commit/733b5f3f2f2425fa939d71bc317f2e0f1968c2a0
commit: 733b5f3f2f2425fa939d71bc317f2e0f1968c2a0
branch: 2.7
author: Victor Stinner <victor.stinner at gmail.com>
committer: GitHub <noreply at github.com>
date: 2017-11-20T07:08:44-08:00
summary:
bpo-32050: Fix -x option documentation (#4423)
The line number in correct when using the -x option: Py_Main() uses
ungetc() to not skip the first newline character.
files:
M Doc/using/cmdline.rst
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index c35bb34f934..c27ec4f3e63 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -411,8 +411,6 @@ Miscellaneous options
Skip the first line of the source, allowing use of non-Unix forms of
``#!cmd``. This is intended for a DOS specific hack only.
- .. note:: The line numbers in error messages will be off by one.
-
.. cmdoption:: -3
Warn about Python 3.x possible incompatibilities by emitting a
More information about the Python-checkins
mailing list