Skip to content

Commit c5a2071

Browse files
authored
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.
1 parent 44862df commit c5a2071

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Doc/using/cmdline.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,6 @@ Miscellaneous options
388388
Skip the first line of the source, allowing use of non-Unix forms of
389389
``#!cmd``. This is intended for a DOS specific hack only.
390390

391-
.. note:: The line numbers in error messages will be off by one.
392-
393391

394392
.. cmdoption:: -X
395393

0 commit comments

Comments
 (0)