summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-12-01 16:28:43 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-12-01 16:28:43 (GMT)
commit56a6d855e2b93b0eb39a3b291ef43b2d03c5e986 (patch)
treeaa94b63e1cd81a03b4d96f6b9d29693f02dcc631 /Lib
parentb491e0521fd6e1a2e6f3e6354a2a296c7c8a2915 (diff)
downloadcpython-56a6d855e2b93b0eb39a3b291ef43b2d03c5e986.zip
cpython-56a6d855e2b93b0eb39a3b291ef43b2d03c5e986.tar.gz
cpython-56a6d855e2b93b0eb39a3b291ef43b2d03c5e986.tar.bz2
Removed duplicated words in in comments and docs.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/asyncio/futures.py2
-rw-r--r--Lib/hashlib.py2
-rw-r--r--Lib/test/test_asyncio/test_windows_events.py2
-rw-r--r--Lib/test/test_docxmlrpc.py2
-rw-r--r--Lib/test/test_xmlrpc.py2
-rw-r--r--Lib/test/test_zipimport_support.py2
-rw-r--r--Lib/xml/etree/ElementTree.py2
7 files changed, 7 insertions, 7 deletions
diff --git a/Lib/asyncio/futures.py b/Lib/asyncio/futures.py
index 40662a3..19e7918 100644
--- a/Lib/asyncio/futures.py
+++ b/Lib/asyncio/futures.py
@@ -61,7 +61,7 @@ class _TracebackLogger:
the Future is collected, and the helper is present, the helper
object is also collected, and its __del__() method will log the
traceback. When the Future's result() or exception() method is
- called (and a helper object is present), it removes the the helper
+ called (and a helper object is present), it removes the helper
object, after calling its clear() method to prevent it from
logging.
diff --git a/Lib/hashlib.py b/Lib/hashlib.py
index e652fc6..316cece 100644
--- a/Lib/hashlib.py
+++ b/Lib/hashlib.py
@@ -172,7 +172,7 @@ except ImportError:
def prf(msg, inner=inner, outer=outer):
# PBKDF2_HMAC uses the password as key. We can re-use the same
- # digest objects and and just update copies to skip initialization.
+ # digest objects and just update copies to skip initialization.
icpy = inner.copy()
ocpy = outer.copy()
icpy.update(msg)
diff --git a/Lib/test/test_asyncio/test_windows_events.py b/Lib/test/test_asyncio/test_windows_events.py
index 85d9669..b4d9398 100644
--- a/Lib/test/test_asyncio/test_windows_events.py
+++ b/Lib/test/test_asyncio/test_windows_events.py
@@ -105,7 +105,7 @@ class ProactorTests(test_utils.TestCase):
_overlapped.SetEvent(event)
- # Wait for for set event;
+ # Wait for set event;
# result should be True immediately
fut = self.loop._proactor.wait_for_handle(event, 10)
start = self.loop.time()
diff --git a/Lib/test/test_docxmlrpc.py b/Lib/test/test_docxmlrpc.py
index cb6366c..06161f2 100644
--- a/Lib/test/test_docxmlrpc.py
+++ b/Lib/test/test_docxmlrpc.py
@@ -10,7 +10,7 @@ import unittest
PORT = None
def make_request_and_skipIf(condition, reason):
- # If we skip the test, we have to make a request because the
+ # If we skip the test, we have to make a request because
# the server created in setUp blocks expecting one to come in.
if not condition:
return lambda func: func
diff --git a/Lib/test/test_xmlrpc.py b/Lib/test/test_xmlrpc.py
index 99b3eda..9194740 100644
--- a/Lib/test/test_xmlrpc.py
+++ b/Lib/test/test_xmlrpc.py
@@ -517,7 +517,7 @@ def is_unavailable_exception(e):
return True
def make_request_and_skipIf(condition, reason):
- # If we skip the test, we have to make a request because the
+ # If we skip the test, we have to make a request because
# the server created in setUp blocks expecting one to come in.
if not condition:
return lambda func: func
diff --git a/Lib/test/test_zipimport_support.py b/Lib/test/test_zipimport_support.py
index 84ba5e0..66c3557 100644
--- a/Lib/test/test_zipimport_support.py
+++ b/Lib/test/test_zipimport_support.py
@@ -57,7 +57,7 @@ class ZipSupportTests(unittest.TestCase):
# This used to use the ImportHooksBaseTestCase to restore
# the state of the import related information
# in the sys module after each test. However, that restores
- # *too much* information and breaks for the invocation of
+ # *too much* information and breaks for the invocation
# of test_doctest. So we do our own thing and leave
# sys.modules alone.
# We also clear the linecache and zipimport cache
diff --git a/Lib/xml/etree/ElementTree.py b/Lib/xml/etree/ElementTree.py
index d9e9807..a8585b6 100644
--- a/Lib/xml/etree/ElementTree.py
+++ b/Lib/xml/etree/ElementTree.py
@@ -125,7 +125,7 @@ class Element:
This class is the reference implementation of the Element interface.
An element's length is its number of subelements. That means if you
- you want to check if an element is truly empty, you should check BOTH
+ want to check if an element is truly empty, you should check BOTH
its length AND its text attribute.
The element tag, attribute names, and attribute values can be either