summaryrefslogtreecommitdiffstats
path: root/Doc/library/warnings.rst
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-04-16 04:59:38 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-04-16 04:59:38 (GMT)
commit00ccacc8db8194f15d8af26b788ec36314b990d1 (patch)
tree98bf16d9eeb894fdcb464eed646d53b4d366bfe7 /Doc/library/warnings.rst
parentb4912b8ed367e540ee060fe912f841cc764fd293 (diff)
downloadcpython-00ccacc8db8194f15d8af26b788ec36314b990d1.zip
cpython-00ccacc8db8194f15d8af26b788ec36314b990d1.tar.gz
cpython-00ccacc8db8194f15d8af26b788ec36314b990d1.tar.bz2
Issue #26638: Fix links to some CLI options and section headings
* Disable inappropriate links to Python interpreter options * Correct link to CLI section in zipapp * Make CLI section label in timeit less ambiguous
Diffstat (limited to 'Doc/library/warnings.rst')
-rw-r--r--Doc/library/warnings.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst
index 8a538ad..037f11d 100644
--- a/Doc/library/warnings.rst
+++ b/Doc/library/warnings.rst
@@ -265,7 +265,7 @@ Updating Code For New Versions of Python
Warnings that are only of interest to the developer are ignored by default. As
such you should make sure to test your code with typically ignored warnings
-made visible. You can do this from the command-line by passing :option:`-Wd`
+made visible. You can do this from the command-line by passing :option:`-Wd <-W>`
to the interpreter (this is shorthand for :option:`-W default`). This enables
default handling for all warnings, including those that are ignored by default.
To change what action is taken for encountered warnings you simply change what