summaryrefslogtreecommitdiffstats
path: root/Doc/using
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2017-11-20 16:16:08 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-11-20 16:16:08 (GMT)
commit60a376cf0023d1070329d0e861a5596637ff3275 (patch)
tree80229276ce0eb8846d1c1989f024254f3746e712 /Doc/using
parentb071a5e838a0e84c4e8a60448fbd40e8a7e5c882 (diff)
downloadcpython-60a376cf0023d1070329d0e861a5596637ff3275.zip
cpython-60a376cf0023d1070329d0e861a5596637ff3275.tar.gz
cpython-60a376cf0023d1070329d0e861a5596637ff3275.tar.bz2
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 c5a2071586f735d2a61d1756e7011cfbb6ce86c9)
Diffstat (limited to 'Doc/using')
-rw-r--r--Doc/using/cmdline.rst2
1 files changed, 0 insertions, 2 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index 40a06b9..9ffb714 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -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