summaryrefslogtreecommitdiff
path: root/Lib/concurrent
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-17 16:13:22 +0300
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-17 16:13:22 +0300
commit8ae554e02011fa61fe225bea4ab78dfac77c28ab (patch)
tree184e72cba7114234d55bfef00f96aceb44b53268 /Lib/concurrent
parentd1f44be1d8b6e155555e318165b59709e21a0938 (diff)
parentdffd84e2ad12d684d6600fdfe33a8083ac25bdc5 (diff)
downloadcpython-8ae554e02011fa61fe225bea4ab78dfac77c28ab.tar.gz
#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 abb99d6b91..6298c658a0 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