Removed duplicated words in in comments and docs. · pythoncapi/cpython@56a6d85 · GitHub
Skip to content

Commit 56a6d85

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

16 files changed

Lines changed: 19 additions & 19 deletions

File tree

Doc/library/base64.rst

Lines changed: 1 addition & 1 deletion

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

0 commit comments

Comments
 (0)