summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
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 3dd6da1f0c..590edba24e 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 371d7128f8..9f05c9198d 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 8991f3851f..55921febf5 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