Issue #27125: Fix various errors like “will [be] inherited”
diff --git a/Lib/email/message.py b/Lib/email/message.py
index 7c93370..d7358cd 100644
--- a/Lib/email/message.py
+++ b/Lib/email/message.py
@@ -579,7 +579,7 @@
message, it will be set to "text/plain" and the new parameter and
value will be appended as per RFC 2045.
- An alternate header can specified in the header argument, and all
+ An alternate header can be specified in the header argument, and all
parameters will be quoted as necessary unless requote is False.
If charset is specified, the parameter will be encoded according to RFC
diff --git a/Lib/lib-tk/Tix.py b/Lib/lib-tk/Tix.py
index d723e47..c98b549 100644
--- a/Lib/lib-tk/Tix.py
+++ b/Lib/lib-tk/Tix.py
@@ -1052,7 +1052,7 @@
class LabelEntry(TixWidget):
"""LabelEntry - Entry field with label. Packages an entry widget
- and a label into one mega widget. It can beused be used to simplify
+ and a label into one mega widget. It can be used be used to simplify
the creation of ``entry-form'' type of interface.
Subwidgets Class
diff --git a/Lib/rfc822.py b/Lib/rfc822.py
index c1d0865..9a5b8a2 100644
--- a/Lib/rfc822.py
+++ b/Lib/rfc822.py
@@ -961,7 +961,7 @@
According to RFC 1123, day and month names must always be in
English. If not for that, this code could use strftime(). It
- can't because strftime() honors the locale and could generated
+ can't because strftime() honors the locale and could generate
non-English names.
"""
if timeval is None:
diff --git a/Lib/test/test_httplib.py b/Lib/test/test_httplib.py
index a72f6f7..d3bac0f 100644
--- a/Lib/test/test_httplib.py
+++ b/Lib/test/test_httplib.py
@@ -213,8 +213,8 @@
self.assertIn(b'\xa0NonbreakSpace: value', conn._buffer)
def test_ipv6host_header(self):
- # Default host header on IPv6 transaction should wrapped by [] if
- # its actual IPv6 address
+ # Default host header on IPv6 transaction should be wrapped by [] if
+ # it is an IPv6 address
expected = 'GET /foo HTTP/1.1\r\nHost: [2001::]:81\r\n' \
'Accept-Encoding: identity\r\n\r\n'
conn = httplib.HTTPConnection('[2001::]:81')