diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-12-01 16:30:14 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-12-01 16:30:14 (GMT) |
commit | 83000a490a36f4c3c579151ff09eeb4875d0d4cd (patch) | |
tree | 4685eb31eff461a6c77ab302bcfa689aff7e3f7b /Lib | |
parent | 2205da43a6bb68b641d97fa7832b71c8a57efb77 (diff) | |
parent | 56a6d855e2b93b0eb39a3b291ef43b2d03c5e986 (diff) | |
download | cpython-83000a490a36f4c3c579151ff09eeb4875d0d4cd.zip cpython-83000a490a36f4c3c579151ff09eeb4875d0d4cd.tar.gz cpython-83000a490a36f4c3c579151ff09eeb4875d0d4cd.tar.bz2 |
Removed duplicated words in in comments and docs.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/asyncio/futures.py | 2 | ||||
-rw-r--r-- | Lib/hashlib.py | 2 | ||||
-rw-r--r-- | Lib/test/test_asyncio/test_windows_events.py | 2 | ||||
-rw-r--r-- | Lib/test/test_docxmlrpc.py | 2 | ||||
-rw-r--r-- | Lib/test/test_xmlrpc.py | 2 | ||||
-rw-r--r-- | Lib/test/test_zipimport_support.py | 2 | ||||
-rw-r--r-- | Lib/xml/etree/ElementTree.py | 2 |
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 eb97516..d9fd917 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 c184da3..b05198d 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 43d0da6..2e801a8 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 6c1345a..ca6c7d6 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 |