From: Victor Stinner Date: Mon, 20 Nov 2017 16:08:03 +0000 (-0800) Subject: bpo-32050: Fix -x option documentation (#4475) X-Git-Tag: v3.7.0a3~137 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c5a2071586f735d2a61d1756e7011cfbb6ce86c9;p=thirdparty%2FPython%2Fcpython.git bpo-32050: Fix -x option documentation (#4475) The line number in correct when using the -x option: Py_Main() uses ungetc() to not skip the first newline character. --- diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index bf27c1e2b56c..b2269302cb42 100644 --- a/Doc/using/cmdline.rst +++ b/Doc/using/cmdline.rst @@ -388,8 +388,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