summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-10-19 07:39:35 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-10-19 07:39:35 (GMT)
commit1e87da16eac24f6e0fb6908906ab6400ce583fa0 (patch)
treed992030c489c74b4f385314d3fba2d1dbb675cf6 /Lib
parent7a15390f83c57283b44163c33bb4a80fd453526b (diff)
downloadcpython-1e87da16eac24f6e0fb6908906ab6400ce583fa0.zip
cpython-1e87da16eac24f6e0fb6908906ab6400ce583fa0.tar.gz
cpython-1e87da16eac24f6e0fb6908906ab6400ce583fa0.tar.bz2
Remove duplication.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/cookielib.py2
-rw-r--r--Lib/lib-tk/Tix.py6
-rw-r--r--Lib/lib-tk/turtle.py2
-rw-r--r--Lib/msilib/schema.py2
-rw-r--r--Lib/multiprocessing/__init__.py2
-rw-r--r--Lib/rfc822.py2
-rw-r--r--Lib/sched.py2
-rw-r--r--Lib/test/test_urlparse.py2
-rw-r--r--Lib/test/test_xmlrpc.py4
9 files changed, 12 insertions, 12 deletions
diff --git a/Lib/cookielib.py b/Lib/cookielib.py
index 5b25090..65214df 100644
--- a/Lib/cookielib.py
+++ b/Lib/cookielib.py
@@ -1014,7 +1014,7 @@ class DefaultCookiePolicy(CookiePolicy):
(not erhn.startswith(".") and
not ("."+erhn).endswith(domain))):
_debug(" effective request-host %s (even with added "
- "initial dot) does not end end with %s",
+ "initial dot) does not end with %s",
erhn, domain)
return False
if (cookie.version > 0 or
diff --git a/Lib/lib-tk/Tix.py b/Lib/lib-tk/Tix.py
index 210b7d2..d474235 100644
--- a/Lib/lib-tk/Tix.py
+++ b/Lib/lib-tk/Tix.py
@@ -1874,13 +1874,13 @@ class Grid(TixWidget, XView, YView):
return self.tk.call(self, 'info', 'bbox', x, y)
def move_column(self, from_, to, offset):
- """Moves the the range of columns from position FROM through TO by
+ """Moves the range of columns from position FROM through TO by
the distance indicated by OFFSET. For example, move_column(2, 4, 1)
moves the columns 2,3,4 to columns 3,4,5."""
self.tk.call(self, 'move', 'column', from_, to, offset)
def move_row(self, from_, to, offset):
- """Moves the the range of rows from position FROM through TO by
+ """Moves the range of rows from position FROM through TO by
the distance indicated by OFFSET.
For example, move_row(2, 4, 1) moves the rows 2,3,4 to rows 3,4,5."""
self.tk.call(self, 'move', 'row', from_, to, offset)
@@ -1939,7 +1939,7 @@ class Grid(TixWidget, XView, YView):
pad0 pixels
Specifies the paddings to the top of a row.
pad1 pixels
- Specifies the paddings to the the bottom of a row.
+ Specifies the paddings to the bottom of a row.
size val
Specifies the height of a row.
Val may be: "auto" -- the height of the row is set the
diff --git a/Lib/lib-tk/turtle.py b/Lib/lib-tk/turtle.py
index 4230d68..e78324e 100644
--- a/Lib/lib-tk/turtle.py
+++ b/Lib/lib-tk/turtle.py
@@ -96,7 +96,7 @@ Roughly it has the following features added:
docstrings to disc, so it can serve as a template for translations.
Behind the scenes there are some features included with possible
-extensions in in mind. These will be commented and documented elsewhere.
+extensions in mind. These will be commented and documented elsewhere.
"""
diff --git a/Lib/msilib/schema.py b/Lib/msilib/schema.py
index 51dd177..003f040 100644
--- a/Lib/msilib/schema.py
+++ b/Lib/msilib/schema.py
@@ -958,7 +958,7 @@ _Validation_records = [
(u'ServiceInstall',u'StartType',u'N',0,4,None, None, None, None, u'Type of the service',),
(u'Shortcut',u'Name',u'N',None, None, None, None, u'Filename',None, u'The name of the shortcut to be created.',),
(u'Shortcut',u'Description',u'Y',None, None, None, None, u'Text',None, u'The description for the shortcut.',),
-(u'Shortcut',u'Component_',u'N',None, None, u'Component',1,u'Identifier',None, u'Foreign key into the Component table denoting the component whose selection gates the the shortcut creation/deletion.',),
+(u'Shortcut',u'Component_',u'N',None, None, u'Component',1,u'Identifier',None, u'Foreign key into the Component table denoting the component whose selection gates the shortcut creation/deletion.',),
(u'Shortcut',u'Icon_',u'Y',None, None, u'Icon',1,u'Identifier',None, u'Foreign key into the File table denoting the external icon file for the shortcut.',),
(u'Shortcut',u'IconIndex',u'Y',-32767,32767,None, None, None, None, u'The icon index for the shortcut.',),
(u'Shortcut',u'Directory_',u'N',None, None, u'Directory',1,u'Identifier',None, u'Foreign key into the Directory table denoting the directory where the shortcut file is created.',),
diff --git a/Lib/multiprocessing/__init__.py b/Lib/multiprocessing/__init__.py
index 4963293..2e91e8e 100644
--- a/Lib/multiprocessing/__init__.py
+++ b/Lib/multiprocessing/__init__.py
@@ -9,7 +9,7 @@
# wrapper for 'threading'.
#
# Try calling `multiprocessing.doc.main()` to read the html
-# documentation in in a webbrowser.
+# documentation in a webbrowser.
#
#
# Copyright (c) 2006-2008, R Oudkerk
diff --git a/Lib/rfc822.py b/Lib/rfc822.py
index 64cd702..3b29a6a 100644
--- a/Lib/rfc822.py
+++ b/Lib/rfc822.py
@@ -34,7 +34,7 @@ The optional `seekable' argument is provided as a workaround for certain stdio
libraries in which tell() discards buffered data before discovering that the
lseek() system call doesn't work. For maximum portability, you should set the
seekable argument to zero to prevent that initial \code{tell} when passing in
-an unseekable object such as a a file object created from a socket object. If
+an unseekable object such as a file object created from a socket object. If
it is 1 on entry -- which it is by default -- the tell() method of the open
file object is called once; if this raises an exception, seekable is reset to
0. For other nonzero values of seekable, this test is not made.
diff --git a/Lib/sched.py b/Lib/sched.py
index f0da829..47646a1 100644
--- a/Lib/sched.py
+++ b/Lib/sched.py
@@ -88,7 +88,7 @@ class scheduler:
restarted.
It is legal for both the delay function and the action
- function to to modify the queue or to raise an exception;
+ function to modify the queue or to raise an exception;
exceptions are not caught but the scheduler's state remains
well-defined so run() may be called again.
diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py
index c690a67..39a897a 100644
--- a/Lib/test/test_urlparse.py
+++ b/Lib/test/test_urlparse.py
@@ -9,7 +9,7 @@ RFC2396_BASE = "http://a/b/c/d;p?q"
RFC3986_BASE = 'http://a/b/c/d;p?q'
SIMPLE_BASE = 'http://a/b/c/d'
-# A list of test cases. Each test case is a a two-tuple that contains
+# A list of test cases. Each test case is a two-tuple that contains
# a string with the query and a dictionary with the expected result.
parse_qsl_test_cases = [
diff --git a/Lib/test/test_xmlrpc.py b/Lib/test/test_xmlrpc.py
index 79100e9..c88a1ee 100644
--- a/Lib/test/test_xmlrpc.py
+++ b/Lib/test/test_xmlrpc.py
@@ -308,7 +308,7 @@ def http_server(evt, numrequests, requestHandler=None):
global ADDR, PORT, URL
ADDR, PORT = serv.socket.getsockname()
#connect to IP address directly. This avoids socket.create_connection()
- #trying to connect to to "localhost" using all address families, which
+ #trying to connect to "localhost" using all address families, which
#causes slowdown e.g. on vista which supports AF_INET6. The server listens
#on AF_INET only.
URL = "http://%s:%d"%(ADDR, PORT)
@@ -367,7 +367,7 @@ def http_multi_server(evt, numrequests, requestHandler=None):
global ADDR, PORT, URL
ADDR, PORT = serv.socket.getsockname()
#connect to IP address directly. This avoids socket.create_connection()
- #trying to connect to to "localhost" using all address families, which
+ #trying to connect to "localhost" using all address families, which
#causes slowdown e.g. on vista which supports AF_INET6. The server listens
#on AF_INET only.
URL = "http://%s:%d"%(ADDR, PORT)