]> granicus.if.org Git - python/commitdiff
bpo-32050: Fix -x option documentation (#4475)
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 20 Nov 2017 16:08:03 +0000 (08:08 -0800)
committerGitHub <noreply@github.com>
Mon, 20 Nov 2017 16:08:03 +0000 (08:08 -0800)
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

index bf27c1e2b56c4cd6ef88faf6ef864b2c4aa584e1..b2269302cb42b6f8e48034d5301305c1c021223a 100644 (file)
@@ -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