summaryrefslogtreecommitdiffstats
path: root/Lib/concurrent
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-17 13:13:22 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-17 13:13:22 (GMT)
commite0c69161bc9d4e9deca4fc0add189b4df9cce8cb (patch)
tree577f43f5da23af8cd3f34422599627cef6a2902f /Lib/concurrent
parent1d8e7dbf1ab5f206016de6ccd9ce3962d264bd9b (diff)
parentb5bc353b8893461b0ecdf0e4bc2b299ef2b19bc0 (diff)
downloadcpython-e0c69161bc9d4e9deca4fc0add189b4df9cce8cb.zip
cpython-e0c69161bc9d4e9deca4fc0add189b4df9cce8cb.tar.gz
cpython-e0c69161bc9d4e9deca4fc0add189b4df9cce8cb.tar.bz2
#18741: merge with 3.3.
Diffstat (limited to 'Lib/concurrent')
-rw-r--r--Lib/concurrent/futures/process.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/concurrent/futures/process.py b/Lib/concurrent/futures/process.py
index abb99d6..6298c65 100644
--- a/Lib/concurrent/futures/process.py
+++ b/Lib/concurrent/futures/process.py
@@ -301,7 +301,7 @@ def _check_system_limits():
# sysconf not available or setting not available
return
if nsems_max == -1:
- # indetermine limit, assume that limit is determined
+ # indetermined limit, assume that limit is determined
# by available memory only
return
if nsems_max >= 256:
@@ -415,7 +415,7 @@ class ProcessPoolExecutor(_base.Executor):
self._result_queue.put(None)
if wait:
self._queue_management_thread.join()
- # To reduce the risk of openning too many files, remove references to
+ # To reduce the risk of opening too many files, remove references to
# objects that use file descriptors.
self._queue_management_thread = None
self._call_queue = None