summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-01-27 04:20:14 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-01-27 04:20:14 (GMT)
commit3f5db3940ff71428d1eecb3d4eebe68d9c3d216d (patch)
treeef8c20da3ad9050700786a6999e1094f7fe397ba /Lib
parent1c1cadbbca21f75733bb201e7c94863b6e6ed206 (diff)
downloadcpython-3f5db3940ff71428d1eecb3d4eebe68d9c3d216d.zip
cpython-3f5db3940ff71428d1eecb3d4eebe68d9c3d216d.tar.gz
cpython-3f5db3940ff71428d1eecb3d4eebe68d9c3d216d.tar.bz2
Fix a few typos and a double semicolon. Patch by Eitan Adler.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/ipaddress.py2
-rw-r--r--Lib/test/test_email/test_headerregistry.py2
-rw-r--r--Lib/test/test_isinstance.py2
-rw-r--r--Lib/test/test_startfile.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/Lib/ipaddress.py b/Lib/ipaddress.py
index 532e44e..39b3f74 100644
--- a/Lib/ipaddress.py
+++ b/Lib/ipaddress.py
@@ -723,7 +723,7 @@ class _BaseNetwork(_IPAddressBase):
other: An IPv4Network or IPv6Network object of the same type.
Returns:
- An iterator of the the IPv(4|6)Network objects which is self
+ An iterator of the IPv(4|6)Network objects which is self
minus other.
Raises:
diff --git a/Lib/test/test_email/test_headerregistry.py b/Lib/test/test_email/test_headerregistry.py
index eba81f2..c0c81c1 100644
--- a/Lib/test/test_email/test_headerregistry.py
+++ b/Lib/test/test_email/test_headerregistry.py
@@ -670,7 +670,7 @@ class TestContentTypeHeader(TestHeaderBase):
),
# XXX: I would say this one should default to ascii/en for the
- # "encoded" segment, since the the first segment is not encoded and is
+ # "encoded" segment, since the first segment is not encoded and is
# in double quotes, making the value a valid non-encoded string. The
# old parser decodes this just like the previous case, which may be the
# better Postel rule, but could equally result in borking headers that
diff --git a/Lib/test/test_isinstance.py b/Lib/test/test_isinstance.py
index dc2d074..7a6730e 100644
--- a/Lib/test/test_isinstance.py
+++ b/Lib/test/test_isinstance.py
@@ -15,7 +15,7 @@ class TestIsInstanceExceptions(unittest.TestCase):
# (leading to an "undetected error" in the debug build). Set up is,
# isinstance(inst, cls) where:
#
- # - cls isn't a a type, or a tuple
+ # - cls isn't a type, or a tuple
# - cls has a __bases__ attribute
# - inst has a __class__ attribute
# - inst.__class__ as no __bases__ attribute
diff --git a/Lib/test/test_startfile.py b/Lib/test/test_startfile.py
index ae9aeb9..5a9c2de 100644
--- a/Lib/test/test_startfile.py
+++ b/Lib/test/test_startfile.py
@@ -5,7 +5,7 @@
#
# A possible improvement would be to have empty.vbs do something that
# we can detect here, to make sure that not only the os.startfile()
-# call succeeded, but also the the script actually has run.
+# call succeeded, but also the script actually has run.
import unittest
from test import support