diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-11-20 16:08:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-20 16:08:03 (GMT) |
commit | c5a2071586f735d2a61d1756e7011cfbb6ce86c9 (patch) | |
tree | c65a993a00e2c169506d03418eeae1edea087fe1 /Doc/using | |
parent | 44862df2eeec62adea20672b0fe2a5d3e160569e (diff) | |
download | cpython-c5a2071586f735d2a61d1756e7011cfbb6ce86c9.zip cpython-c5a2071586f735d2a61d1756e7011cfbb6ce86c9.tar.gz cpython-c5a2071586f735d2a61d1756e7011cfbb6ce86c9.tar.bz2 |
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.
Diffstat (limited to 'Doc/using')
-rw-r--r-- | Doc/using/cmdline.rst | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index bf27c1e..b226930 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 |