[Python-checkins] cpython (3.5): Fix spacing after C++ in documentation

martin.panter python-checkins at python.org
Fri Nov 4 23:50:31 EDT 2016


https://hg.python.org/cpython/rev/8448152f64d7
changeset:   104915:8448152f64d7
branch:      3.5
parent:      104912:532b0b9f41e0
user:        Martin Panter <vadmium+py at gmail.com>
date:        Sat Nov 05 02:40:31 2016 +0000
summary:
  Fix spacing after C++ in documentation

files:
  Doc/distutils/apiref.rst      |  2 +-
  Doc/distutils/setupscript.rst |  2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/distutils/apiref.rst b/Doc/distutils/apiref.rst
--- a/Doc/distutils/apiref.rst
+++ b/Doc/distutils/apiref.rst
@@ -166,7 +166,7 @@
 
 .. 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
--- a/Doc/distutils/setupscript.rst
+++ b/Doc/distutils/setupscript.rst
@@ -201,7 +201,7 @@
 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

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list