bpo-32050: Fix -x option documentation (GH-4475) (#4477)

The line number in correct when using the -x option: Py_Main() uses
ungetc() to not skip the first newline character.
(cherry picked from commit c5a2071586)
This commit is contained in:
Miss Islington (bot) 2017-11-20 08:16:08 -08:00 committed by Victor Stinner
parent b071a5e838
commit 60a376cf00

View file

@ -387,8 +387,6 @@ Miscellaneous options
Skip the first line of the source, allowing use of non-Unix forms of Skip the first line of the source, allowing use of non-Unix forms of
``#!cmd``. This is intended for a DOS specific hack only. ``#!cmd``. This is intended for a DOS specific hack only.
.. note:: The line numbers in error messages will be off by one.
.. cmdoption:: -X .. cmdoption:: -X