[Python-checkins] bpo-35110: Fix yet few spaces before dashes. (GH-10255)

Serhiy Storchaka webhook-mailer at python.org
Wed Oct 31 05:14:41 EDT 2018


https://github.com/python/cpython/commit/511747bec3aca4ad7930005e3adece9196c1cd39
commit: 511747bec3aca4ad7930005e3adece9196c1cd39
branch: master
author: Serhiy Storchaka <storchaka at gmail.com>
committer: GitHub <noreply at github.com>
date: 2018-10-31T11:14:38+02:00
summary:

bpo-35110: Fix yet few spaces before dashes. (GH-10255)

files:
M Doc/distutils/configfile.rst
M Doc/library/optparse.rst

diff --git a/Doc/distutils/configfile.rst b/Doc/distutils/configfile.rst
index cd10a7fdf315..0874d05fe703 100644
--- a/Doc/distutils/configfile.rst
+++ b/Doc/distutils/configfile.rst
@@ -13,8 +13,8 @@ edit is a cheap and easy way to solicit it.  Configuration files also let you
 provide default values for any command option, which the installer can then
 override either on the command-line or by editing the config file.
 
-The setup configuration file is a useful middle-ground between the setup script
----which, ideally, would be opaque to installers [#]_---and the command-line to
+The setup configuration file is a useful middle-ground between the setup
+script---which, ideally, would be opaque to installers [#]_---and the command-line to
 the setup script, which is outside of your control and entirely up to the
 installer.  In fact, :file:`setup.cfg` (and any other Distutils configuration
 files present on the target system) are processed after the contents of the
diff --git a/Doc/library/optparse.rst b/Doc/library/optparse.rst
index 4f7bd43ce7d9..3afc77bf9f8e 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``::
 



More information about the Python-checkins mailing list