[Python-checkins] cpython (2.7): Fix some spelling errors

martin.panter python-checkins at python.org
Sat Aug 20 04:28:12 EDT 2016


https://hg.python.org/cpython/rev/03dc2f3fa0c6
changeset:   102801:03dc2f3fa0c6
branch:      2.7
parent:      102796:7136304ecf4c
user:        Martin Panter <vadmium+py at gmail.com>
date:        Sat Aug 20 08:00:53 2016 +0000
summary:
  Fix some spelling errors

files:
  Doc/whatsnew/2.7.rst  |  2 +-
  Include/pymacconfig.h |  4 ++--
  Misc/developers.txt   |  2 +-
  setup.py              |  2 +-
  4 files changed, 5 insertions(+), 5 deletions(-)


diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst
--- a/Doc/whatsnew/2.7.rst
+++ b/Doc/whatsnew/2.7.rst
@@ -532,7 +532,7 @@
   calling ``log.getChild('network.listen')`` is equivalent to
   ``getLogger('app.network.listen')``.
 
-* The :class:`~logging.LoggerAdapter` class gained a
+* The :class:`~logging.LoggerAdapter` class gained an
   :meth:`~logging.LoggerAdapter.isEnabledFor` method that takes a
   *level* and returns whether the underlying logger would
   process a message of that level of importance.
diff --git a/Include/pymacconfig.h b/Include/pymacconfig.h
--- a/Include/pymacconfig.h
+++ b/Include/pymacconfig.h
@@ -63,7 +63,7 @@
 #    if defined(__LP64__)
      /* MacOSX 10.4 (the first release to support 64-bit code
       * at all) only supports 64-bit in the UNIX layer.
-      * Therefore surpress the toolbox-glue in 64-bit mode.
+      * Therefore suppress the toolbox-glue in 64-bit mode.
       */
 
     /* In 64-bit mode setpgrp always has no arguments, in 32-bit
@@ -91,7 +91,7 @@
      *
      * Specifically: OSX 10.4 has limited supported for '%zd', while
      * 10.5 has full support for '%zd'. A binary built on 10.5 won't
-     * work properly on 10.4 unless we surpress the definition
+     * work properly on 10.4 unless we suppress the definition
      * of PY_FORMAT_SIZE_T
      */
 #undef  PY_FORMAT_SIZE_T
diff --git a/Misc/developers.txt b/Misc/developers.txt
--- a/Misc/developers.txt
+++ b/Misc/developers.txt
@@ -159,7 +159,7 @@
   for general contributions to Python.
 
 - Mark Dickinson was given SVN access on 6 January 2008 by Facundo
-  Batista for his work on mathemathics and number related issues.
+  Batista for his work on mathematics and number related issues.
 
 - Amaury Forgeot d'Arc was given SVN access on 9 November 2007 by MvL,
   for general contributions to Python.
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -1652,7 +1652,7 @@
             if int(os.uname()[2].split('.')[0]) >= 8:
                 # We're on Mac OS X 10.4 or later, the compiler should
                 # support '-Wno-deprecated-declarations'. This will
-                # surpress deprecation warnings for the Carbon extensions,
+                # suppress deprecation warnings for the Carbon extensions,
                 # these extensions wrap the Carbon APIs and even those
                 # parts that are deprecated.
                 carbon_extra_compile_args = ['-Wno-deprecated-declarations']

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


More information about the Python-checkins mailing list