From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 20 Nov 2017 16:16:08 +0000 (-0800) Subject: bpo-32050: Fix -x option documentation (GH-4475) (#4477) X-Git-Tag: v3.6.4rc1~55 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=60a376cf0023d1070329d0e861a5596637ff3275;p=python 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 c5a2071586f735d2a61d1756e7011cfbb6ce86c9) --- diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index 40a06b9adc..9ffb714963 100644 --- a/Doc/using/cmdline.rst +++ b/Doc/using/cmdline.rst @@ -387,8 +387,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:: -X