diff options
author | Martin Panter <vadmium+py@gmail.com> | 2015-11-14 01:14:25 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2015-11-14 01:14:25 (GMT) |
commit | 32acc16cdab1e890db17c79a5d32c2379800722d (patch) | |
tree | 51d3b4f5afa8351490051816749d198744a533e1 /Lib | |
parent | fa9ea046732eff86408aba477d557c8fc92bc864 (diff) | |
parent | 2e4571a456c32af964d48b4bf70a9a53d27d10d6 (diff) | |
download | cpython-32acc16cdab1e890db17c79a5d32c2379800722d.zip cpython-32acc16cdab1e890db17c79a5d32c2379800722d.tar.gz cpython-32acc16cdab1e890db17c79a5d32c2379800722d.tar.bz2 |
Merge typo and grammar fixes from 3.4 into 3.5
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/doctest.py | 2 | ||||
-rw-r--r-- | Lib/http/cookiejar.py | 8 | ||||
-rw-r--r-- | Lib/test/test_argparse.py | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/Lib/doctest.py b/Lib/doctest.py index 96ab0c4..4094723 100644 --- a/Lib/doctest.py +++ b/Lib/doctest.py @@ -1575,7 +1575,7 @@ class OutputChecker: # If `want` contains hex-escaped character such as "\u1234", # then `want` is a string of six characters(e.g. [\,u,1,2,3,4]). - # On the other hand, `got` could be an another sequence of + # On the other hand, `got` could be another sequence of # characters such as [\u1234], so `want` and `got` should # be folded to hex-escaped ASCII string to compare. got = self._toAscii(got) diff --git a/Lib/http/cookiejar.py b/Lib/http/cookiejar.py index e215398..ac5e667 100644 --- a/Lib/http/cookiejar.py +++ b/Lib/http/cookiejar.py @@ -423,10 +423,10 @@ def join_header_words(lists): Takes a list of lists of (key, value) pairs and produces a single header value. Attribute values are quoted if needed. - >>> join_header_words([[("text/plain", None), ("charset", "iso-8859/1")]]) - 'text/plain; charset="iso-8859/1"' - >>> join_header_words([[("text/plain", None)], [("charset", "iso-8859/1")]]) - 'text/plain, charset="iso-8859/1"' + >>> join_header_words([[("text/plain", None), ("charset", "iso-8859-1")]]) + 'text/plain; charset="iso-8859-1"' + >>> join_header_words([[("text/plain", None)], [("charset", "iso-8859-1")]]) + 'text/plain, charset="iso-8859-1"' """ headers = [] diff --git a/Lib/test/test_argparse.py b/Lib/test/test_argparse.py index 27bfad5..f48e85c 100644 --- a/Lib/test/test_argparse.py +++ b/Lib/test/test_argparse.py @@ -3026,7 +3026,7 @@ class TestShortColumns(HelpTestCase): '''Test extremely small number of columns. TestCase prevents "COLUMNS" from being too small in the tests themselves, - but we don't want any exceptions thrown in such case. Only ugly representation. + but we don't want any exceptions thrown in such cases. Only ugly representation. ''' def setUp(self): env = support.EnvironmentVarGuard() |