From 60a376cf0023d1070329d0e861a5596637ff3275 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Mon, 20 Nov 2017 08:16:08 -0800 Subject: 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) --- Doc/using/cmdline.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index 40a06b9..9ffb714 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 -- cgit v0.12