From 3739437053e8c374ec1ee118c2c78f7be469b4aa Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 16 Nov 2017 17:01:05 +0100 Subject: [PATCH] bpo-32050: Fix -x option documentation The line number in correct when using the -x option: Py_Main() uses ungetc() to not skip the first newline character. --- Doc/using/cmdline.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index c35bb34f93421a7..c27ec4f3e634a5c 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