summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-11-05 02:40:31 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-11-05 02:40:31 (GMT)
commit04b3d8b6973150bf0c3ce9ec0ffe5cabf4161b7b (patch)
tree9f48efa865bc371a5eb986760427d1ff2b7f60fc /Doc
parent88281ceed02d8f4599cb22f196e40bc30f4fb689 (diff)
downloadcpython-04b3d8b6973150bf0c3ce9ec0ffe5cabf4161b7b.zip
cpython-04b3d8b6973150bf0c3ce9ec0ffe5cabf4161b7b.tar.gz
cpython-04b3d8b6973150bf0c3ce9ec0ffe5cabf4161b7b.tar.bz2
Fix spacing after C++ in documentation
Diffstat (limited to 'Doc')
-rw-r--r--Doc/distutils/apiref.rst2
-rw-r--r--Doc/distutils/setupscript.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/distutils/apiref.rst b/Doc/distutils/apiref.rst
index be0e89a..b5b7731 100644
--- a/Doc/distutils/apiref.rst
+++ b/Doc/distutils/apiref.rst
@@ -166,7 +166,7 @@ the full reference.
.. class:: Extension
- The Extension class describes a single C or C++extension module in a setup
+ The Extension class describes a single C or C++ extension module in a setup
script. It accepts the following keyword arguments in its constructor:
.. tabularcolumns:: |l|L|l|
diff --git a/Doc/distutils/setupscript.rst b/Doc/distutils/setupscript.rst
index 9c4a9d5..38e0202 100644
--- a/Doc/distutils/setupscript.rst
+++ b/Doc/distutils/setupscript.rst
@@ -201,7 +201,7 @@ The second argument to the :class:`~distutils.core.Extension` constructor is
a list of source
files. Since the Distutils currently only support C, C++, and Objective-C
extensions, these are normally C/C++/Objective-C source files. (Be sure to use
-appropriate extensions to distinguish C++\ source files: :file:`.cc` and
+appropriate extensions to distinguish C++ source files: :file:`.cc` and
:file:`.cpp` seem to be recognized by both Unix and Windows compilers.)
However, you can also include SWIG interface (:file:`.i`) files in the list; the