diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-10-31 00:26:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-31 00:26:06 (GMT) |
commit | 3f819ca138db6945ee4271bf13e42db9f9b3b1e4 (patch) | |
tree | 7eab13b4f9da0c8936d423cd633594cf83ba870f /Doc/distutils | |
parent | 68f323715e6627c550d1e8ffed7e36f1bb4aa42b (diff) | |
download | cpython-3f819ca138db6945ee4271bf13e42db9f9b3b1e4.zip cpython-3f819ca138db6945ee4271bf13e42db9f9b3b1e4.tar.gz cpython-3f819ca138db6945ee4271bf13e42db9f9b3b1e4.tar.bz2 |
bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231)
Diffstat (limited to 'Doc/distutils')
-rw-r--r-- | Doc/distutils/apiref.rst | 9 | ||||
-rw-r--r-- | Doc/distutils/builtdist.rst | 6 |
2 files changed, 8 insertions, 7 deletions
diff --git a/Doc/distutils/apiref.rst b/Doc/distutils/apiref.rst index 9d5c2ab..b10b39a 100644 --- a/Doc/distutils/apiref.rst +++ b/Doc/distutils/apiref.rst @@ -183,8 +183,9 @@ the full reference. | *sources* | list of source filenames, | a list of strings | | | relative to the distribution | | | | root (where the setup script | | - | | lives), in Unix form (slash- | | - | | separated) for portability. | | + | | lives), in Unix form | | + | | (slash-separated) for | | + | | portability. | | | | Source files may be C, C++, | | | | SWIG (.i), platform-specific | | | | resource files, or whatever | | @@ -1566,8 +1567,8 @@ lines, and joining lines with backslashes. +------------------+--------------------------------+---------+ | option name | description | default | +==================+================================+=========+ - | *strip_comments* | strip from ``'#'`` to end-of- | true | - | | line, as well as any | | + | *strip_comments* | strip from ``'#'`` to | true | + | | end-of-line, as well as any | | | | whitespace leading up to the | | | | ``'#'``\ ---unless it is | | | | escaped by a backslash | | diff --git a/Doc/distutils/builtdist.rst b/Doc/distutils/builtdist.rst index 758bd14..f1f3471 100644 --- a/Doc/distutils/builtdist.rst +++ b/Doc/distutils/builtdist.rst @@ -63,9 +63,9 @@ distribution to generate: for example, :: python setup.py bdist --format=zip -would, when run on a Unix system, create :file:`Distutils-1.0.{plat}.zip`\ ----again, this archive would be unpacked from the root directory to install the -Distutils. +would, when run on a Unix system, create +:file:`Distutils-1.0.{plat}.zip`\ ---again, this archive would be unpacked +from the root directory to install the Distutils. The available formats for built distributions are: |