summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-11-02 04:20:33 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-11-02 04:20:33 (GMT)
commitd2ad5718ad955a13cf570bacad1d7800d995da33 (patch)
tree8701db861a6620fbb4cd000fd1932e5a0f8f6ffe /Lib
parent2eb819f7a82c7eb61f2d253894d9973f0ec21df2 (diff)
downloadcpython-d2ad5718ad955a13cf570bacad1d7800d995da33.zip
cpython-d2ad5718ad955a13cf570bacad1d7800d995da33.tar.gz
cpython-d2ad5718ad955a13cf570bacad1d7800d995da33.tar.bz2
Issue #25523: Further a-to-an corrections new in 3.5
Diffstat (limited to 'Lib')
-rw-r--r--Lib/concurrent/futures/process.py2
-rw-r--r--Lib/signal.py2
-rw-r--r--Lib/unittest/test/test_discovery.py4
3 files changed, 4 insertions, 4 deletions
diff --git a/Lib/concurrent/futures/process.py b/Lib/concurrent/futures/process.py
index 3dd6da1..590edba 100644
--- a/Lib/concurrent/futures/process.py
+++ b/Lib/concurrent/futures/process.py
@@ -456,7 +456,7 @@ class ProcessPoolExecutor(_base.Executor):
submit.__doc__ = _base.Executor.submit.__doc__
def map(self, fn, *iterables, timeout=None, chunksize=1):
- """Returns a iterator equivalent to map(fn, iter).
+ """Returns an iterator equivalent to map(fn, iter).
Args:
fn: A callable that will take as many arguments as there are
diff --git a/Lib/signal.py b/Lib/signal.py
index 371d712..9f05c91 100644
--- a/Lib/signal.py
+++ b/Lib/signal.py
@@ -34,7 +34,7 @@ def _int_to_enum(value, enum_klass):
def _enum_to_int(value):
"""Convert an IntEnum member to a numeric value.
- If it's not a IntEnum member return the value itself.
+ If it's not an IntEnum member return the value itself.
"""
try:
return int(value)
diff --git a/Lib/unittest/test/test_discovery.py b/Lib/unittest/test/test_discovery.py
index 8991f38..55921fe 100644
--- a/Lib/unittest/test/test_discovery.py
+++ b/Lib/unittest/test/test_discovery.py
@@ -255,12 +255,12 @@ class TestDiscovery(unittest.TestCase):
self.addCleanup(sys.path.remove, abspath('/foo'))
# Test data: we expect the following:
- # a listdir to find our package, and a isfile and isdir check on it.
+ # a listdir to find our package, and isfile and isdir checks on it.
# a module-from-name call to turn that into a module
# followed by load_tests.
# then our load_tests will call discover() which is messy
# but that finally chains into find_tests again for the child dir -
- # which is why we don't have a infinite loop.
+ # which is why we don't have an infinite loop.
# We expect to see:
# the module load tests for both package and plain module called,
# and the plain module result nested by the package module load_tests