summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-11-14 01:07:43 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-11-14 01:07:43 (GMT)
commit2e4571a456c32af964d48b4bf70a9a53d27d10d6 (patch)
tree7068a1842fae492ea6994768160d20c3eabb8629 /Lib
parentac34e09bbfe59e0d2075be7db317b91da6ca2c69 (diff)
downloadcpython-2e4571a456c32af964d48b4bf70a9a53d27d10d6.zip
cpython-2e4571a456c32af964d48b4bf70a9a53d27d10d6.tar.gz
cpython-2e4571a456c32af964d48b4bf70a9a53d27d10d6.tar.bz2
Fix a few grammar problems in the documentation and comments
Diffstat (limited to 'Lib')
-rw-r--r--Lib/doctest.py2
-rw-r--r--Lib/test/test_argparse.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/doctest.py b/Lib/doctest.py
index 64e6d71..432ef05 100644
--- a/Lib/doctest.py
+++ b/Lib/doctest.py
@@ -1573,7 +1573,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/test/test_argparse.py b/Lib/test/test_argparse.py
index ecc5507..5efdb67 100644
--- a/Lib/test/test_argparse.py
+++ b/Lib/test/test_argparse.py
@@ -3019,7 +3019,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()