summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-10-31 09:14:38 (GMT)
committerGitHub <noreply@github.com>2018-10-31 09:14:38 (GMT)
commit511747bec3aca4ad7930005e3adece9196c1cd39 (patch)
tree87d40a581dcbd74c7de48b102d9260473c2a2852 /Doc/library
parentc9a6168924ffa4f3f78175998b392fe23d3edc50 (diff)
downloadcpython-511747bec3aca4ad7930005e3adece9196c1cd39.zip
cpython-511747bec3aca4ad7930005e3adece9196c1cd39.tar.gz
cpython-511747bec3aca4ad7930005e3adece9196c1cd39.tar.bz2
bpo-35110: Fix yet few spaces before dashes. (GH-10255)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/optparse.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/optparse.rst b/Doc/library/optparse.rst
index 4f7bd43..3afc77b 100644
--- a/Doc/library/optparse.rst
+++ b/Doc/library/optparse.rst
@@ -379,8 +379,8 @@ types is covered in section :ref:`optparse-extending-optparse`.
Handling boolean (flag) options
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-Flag options---set a variable to true or false when a particular option is seen
----are quite common. :mod:`optparse` supports them with two separate actions,
+Flag options---set a variable to true or false when a particular option is
+seen---are quite common. :mod:`optparse` supports them with two separate actions,
``store_true`` and ``store_false``. For example, you might have a ``verbose``
flag that is turned on with ``-v`` and off with ``-q``::