Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8e7586b

Browse files
committed
Issue #17047: remove doubled words added in 3.4,
as reported by Serhiy Storchaka and Matthew Barnett.
1 parent 8b53559 commit 8e7586b

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/library/ssl.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ to speed up repeated connections from the same clients.
824824
will not contain return meaningful values nor can they be called safely.
825825

826826
The *server_name_callback* function must return ``None`` to allow the
827-
the TLS negotiation to continue. If a TLS failure is required, a constant
827+
TLS negotiation to continue. If a TLS failure is required, a constant
828828
:const:`ALERT_DESCRIPTION_* <ALERT_DESCRIPTION_INTERNAL_ERROR>` can be
829829
returned. Other return values will result in a TLS fatal error with
830830
:const:`ALERT_DESCRIPTION_INTERNAL_ERROR`.

Include/pyport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ extern pid_t forkpty(int *, char *, struct termios *, struct winsize *);
881881
/*
882882
* Convenient macros to deal with endianness of the platform. WORDS_BIGENDIAN is
883883
* detected by configure and defined in pyconfig.h. The code in pyconfig.h
884-
* also also takes care of Apple's universal builds.
884+
* also takes care of Apple's universal builds.
885885
*/
886886

887887
#ifdef WORDS_BIGENDIAN

Lib/argparse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1141,7 +1141,7 @@ class FileType(object):
11411141
- bufsize -- The file's desired buffer size. Accepts the same values as
11421142
the builtin open() function.
11431143
- encoding -- The file's encoding. Accepts the same values as the
1144-
the builtin open() function.
1144+
builtin open() function.
11451145
- errors -- A string indicating how encoding and decoding errors are to
11461146
be handled. Accepts the same value as the builtin open() function.
11471147
"""

Misc/HISTORY

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ Library
778778

779779
- Issue #14626: Large refactoring of functions / parameters in the os module.
780780
Many functions now support "dir_fd" and "follow_symlinks" parameters;
781-
some also support accepting an open file descriptor in place of of a path
781+
some also support accepting an open file descriptor in place of a path
782782
string. Added os.support_* collections as LBYL helpers. Removed many
783783
functions only previously seen in 3.3 alpha releases (often starting with
784784
"f" or "l", or ending with "at"). Originally suggested by Serhiy Storchaka;
@@ -1412,7 +1412,7 @@ Library
14121412

14131413
- Issue #14399: zipfile now recognizes that the archive has been modified even
14141414
if only the comment is changed. In addition, the TypeError that results from
1415-
trying to set a non-binary value as a comment is now now raised at the time
1415+
trying to set a non-binary value as a comment is now raised at the time
14161416
the comment is set rather than at the time the zipfile is written.
14171417

14181418
- trace.CoverageResults.is_ignored_filename() now ignores any name that starts
@@ -3052,7 +3052,7 @@ Library
30523052
check or set the MACOSX_DEPLOYMENT_TARGET environment variable for the
30533053
interpreter process. This could cause failures in non-Distutils subprocesses
30543054
and was unreliable since tests or user programs could modify the interpreter
3055-
environment after Distutils set it. Instead, have Distutils set the the
3055+
environment after Distutils set it. Instead, have Distutils set the
30563056
deployment target only in the environment of each build subprocess. It is
30573057
still possible to globally override the default by setting
30583058
MACOSX_DEPLOYMENT_TARGET before launching the interpreter; its value must be

0 commit comments

Comments
 (0)