Kaydet (Commit) 60a376cf authored tarafından Miss Islington (bot)'s avatar Miss Islington (bot) Kaydeden (comit) Victor Stinner

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 c5a20715)
üst b071a5e8
...@@ -387,8 +387,6 @@ Miscellaneous options ...@@ -387,8 +387,6 @@ Miscellaneous options
Skip the first line of the source, allowing use of non-Unix forms of Skip the first line of the source, allowing use of non-Unix forms of
``#!cmd``. This is intended for a DOS specific hack only. ``#!cmd``. This is intended for a DOS specific hack only.
.. note:: The line numbers in error messages will be off by one.
.. cmdoption:: -X .. cmdoption:: -X
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment