[Python-checkins] cpython: Issue #17047: remove doubled words added in 3.4,

terry.reedy python-checkins at python.org
Mon Mar 11 23:40:17 CET 2013


http://hg.python.org/cpython/rev/0a26a8b13193
changeset:   82623:0a26a8b13193
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Mon Mar 11 18:38:13 2013 -0400
summary:
  Issue #17047: remove doubled words added in 3.4,
as reported by Serhiy Storchaka and Matthew Barnett.

files:
  Doc/library/ssl.rst |  2 +-
  Include/pyport.h    |  2 +-
  Lib/argparse.py     |  2 +-
  Misc/HISTORY        |  6 +++---
  4 files changed, 6 insertions(+), 6 deletions(-)


diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -824,7 +824,7 @@
    will not contain return meaningful values nor can they be called safely.
 
    The *server_name_callback* function must return ``None`` to allow the
-   the TLS negotiation to continue.  If a TLS failure is required, a constant
+   TLS negotiation to continue.  If a TLS failure is required, a constant
    :const:`ALERT_DESCRIPTION_* <ALERT_DESCRIPTION_INTERNAL_ERROR>` can be
    returned.  Other return values will result in a TLS fatal error with
    :const:`ALERT_DESCRIPTION_INTERNAL_ERROR`.
diff --git a/Include/pyport.h b/Include/pyport.h
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -881,7 +881,7 @@
 /*
  * Convenient macros to deal with endianness of the platform. WORDS_BIGENDIAN is
  * detected by configure and defined in pyconfig.h. The code in pyconfig.h
- * also also takes care of Apple's universal builds.
+ * also takes care of Apple's universal builds.
  */
 
 #ifdef WORDS_BIGENDIAN
diff --git a/Lib/argparse.py b/Lib/argparse.py
--- a/Lib/argparse.py
+++ b/Lib/argparse.py
@@ -1141,7 +1141,7 @@
         - bufsize -- The file's desired buffer size. Accepts the same values as
             the builtin open() function.
         - encoding -- The file's encoding. Accepts the same values as the
-            the builtin open() function.
+            builtin open() function.
         - errors -- A string indicating how encoding and decoding errors are to
             be handled. Accepts the same value as the builtin open() function.
     """
diff --git a/Misc/HISTORY b/Misc/HISTORY
--- a/Misc/HISTORY
+++ b/Misc/HISTORY
@@ -778,7 +778,7 @@
 
 - Issue #14626: Large refactoring of functions / parameters in the os module.
   Many functions now support "dir_fd" and "follow_symlinks" parameters;
-  some also support accepting an open file descriptor in place of of a path
+  some also support accepting an open file descriptor in place of a path
   string.  Added os.support_* collections as LBYL helpers.  Removed many
   functions only previously seen in 3.3 alpha releases (often starting with
   "f" or "l", or ending with "at").  Originally suggested by Serhiy Storchaka;
@@ -1412,7 +1412,7 @@
 
 - Issue #14399: zipfile now recognizes that the archive has been modified even
   if only the comment is changed.  In addition, the TypeError that results from
-  trying to set a non-binary value as a comment is now now raised at the time
+  trying to set a non-binary value as a comment is now raised at the time
   the comment is set rather than at the time the zipfile is written.
 
 - trace.CoverageResults.is_ignored_filename() now ignores any name that starts
@@ -3052,7 +3052,7 @@
   check or set the MACOSX_DEPLOYMENT_TARGET environment variable for the
   interpreter process.  This could cause failures in non-Distutils subprocesses
   and was unreliable since tests or user programs could modify the interpreter
-  environment after Distutils set it.  Instead, have Distutils set the the
+  environment after Distutils set it.  Instead, have Distutils set the
   deployment target only in the environment of each build subprocess.  It is
   still possible to globally override the default by setting
   MACOSX_DEPLOYMENT_TARGET before launching the interpreter; its value must be

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


More information about the Python-checkins mailing list