mirror of
https://github.com/python/cpython.git
synced 2025-10-03 13:45:29 +00:00
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 c5a2071586
)
This commit is contained in:
parent
b071a5e838
commit
60a376cf00
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue