Skip to content

Commit 56a6d85

Browse files
Removed duplicated words in in comments and docs.
1 parent b491e05 commit 56a6d85

File tree

16 files changed

+19
-19
lines changed

16 files changed

+19
-19
lines changed

Doc/library/base64.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
This module provides functions for encoding binary data to printable
1414
ASCII characters and decoding such encodings back to binary data.
1515
It provides encoding and decoding functions for the encodings specified in
16-
in :rfc:`3548`, which defines the Base16, Base32, and Base64 algorithms,
16+
:rfc:`3548`, which defines the Base16, Base32, and Base64 algorithms,
1717
and for the de-facto standard Ascii85 and Base85 encodings.
1818

1919
The :rfc:`3548` encodings are suitable for encoding binary data so that it can

Doc/whatsnew/3.3.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1540,7 +1540,7 @@ multiprocessing connections.
15401540
to override the default behavior of inheriting the ``daemon`` flag from
15411541
the parent process (:issue:`6064`).
15421542

1543-
New attribute attribute :data:`multiprocessing.Process.sentinel` allows a
1543+
New attribute :data:`multiprocessing.Process.sentinel` allows a
15441544
program to wait on multiple :class:`~multiprocessing.Process` objects at one
15451545
time using the appropriate OS primitives (for example, :mod:`select` on
15461546
posix systems).

Lib/asyncio/futures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class itself, but instead to have a reference to a helper object
6161
the Future is collected, and the helper is present, the helper
6262
object is also collected, and its __del__() method will log the
6363
traceback. When the Future's result() or exception() method is
64-
called (and a helper object is present), it removes the the helper
64+
called (and a helper object is present), it removes the helper
6565
object, after calling its clear() method to prevent it from
6666
logging.
6767

Lib/hashlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def pbkdf2_hmac(hash_name, password, salt, iterations, dklen=None):
172172

173173
def prf(msg, inner=inner, outer=outer):
174174
# PBKDF2_HMAC uses the password as key. We can re-use the same
175-
# digest objects and and just update copies to skip initialization.
175+
# digest objects and just update copies to skip initialization.
176176
icpy = inner.copy()
177177
ocpy = outer.copy()
178178
icpy.update(msg)

Lib/test/test_asyncio/test_windows_events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def test_wait_for_handle(self):
105105

106106
_overlapped.SetEvent(event)
107107

108-
# Wait for for set event;
108+
# Wait for set event;
109109
# result should be True immediately
110110
fut = self.loop._proactor.wait_for_handle(event, 10)
111111
start = self.loop.time()

Lib/test/test_docxmlrpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
PORT = None
1111

1212
def make_request_and_skipIf(condition, reason):
13-
# If we skip the test, we have to make a request because the
13+
# If we skip the test, we have to make a request because
1414
# the server created in setUp blocks expecting one to come in.
1515
if not condition:
1616
return lambda func: func

Lib/test/test_xmlrpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ def is_unavailable_exception(e):
517517
return True
518518

519519
def make_request_and_skipIf(condition, reason):
520-
# If we skip the test, we have to make a request because the
520+
# If we skip the test, we have to make a request because
521521
# the server created in setUp blocks expecting one to come in.
522522
if not condition:
523523
return lambda func: func

Lib/test/test_zipimport_support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class ZipSupportTests(unittest.TestCase):
5757
# This used to use the ImportHooksBaseTestCase to restore
5858
# the state of the import related information
5959
# in the sys module after each test. However, that restores
60-
# *too much* information and breaks for the invocation of
60+
# *too much* information and breaks for the invocation
6161
# of test_doctest. So we do our own thing and leave
6262
# sys.modules alone.
6363
# We also clear the linecache and zipimport cache

Lib/xml/etree/ElementTree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class Element:
125125
This class is the reference implementation of the Element interface.
126126
127127
An element's length is its number of subelements. That means if you
128-
you want to check if an element is truly empty, you should check BOTH
128+
want to check if an element is truly empty, you should check BOTH
129129
its length AND its text attribute.
130130
131131
The element tag, attribute names, and attribute values can be either

Misc/HISTORY

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3972,7 +3972,7 @@ Tests
39723972
- Issue #12041: Make test_wait3 more robust.
39733973

39743974
- Issue #11873: Change regex in test_compileall to fix occasional failures when
3975-
when the randomly generated temporary path happened to match the regex.
3975+
the randomly generated temporary path happened to match the regex.
39763976

39773977
- Issue #11958: Fix FTP tests for IPv6, bind to "::1" instead of "localhost".
39783978
Patch written by Charles-Francois Natali.
@@ -14018,7 +14018,7 @@ Core and builtins
1401814018
- When method objects have an attribute that can be satisfied either
1401914019
by the function object or by the method object, the function
1402014020
object's attribute usually wins. Christian Tismer pointed out that
14021-
that this is really a mistake, because this only happens for special
14021+
this is really a mistake, because this only happens for special
1402214022
methods (like __reduce__) where the method object's version is
1402314023
really more appropriate than the function's attribute. So from now
1402414024
on, all method attributes will have precedence over function

0 commit comments

Comments
 (0)