summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoko@ubuntu.com <doko@ubuntu.com>2013-05-15 16:06:56 (GMT)
committerdoko@ubuntu.com <doko@ubuntu.com>2013-05-15 16:06:56 (GMT)
commit9df891ca41e98d6b008cbc6ccc738d531dcb42e4 (patch)
treea48cca83fa2e03851d33bce2d4c2597970445f0e
parentef535584a941c6e5cada828a118a06f5ddf80e86 (diff)
downloadcpython-9df891ca41e98d6b008cbc6ccc738d531dcb42e4.zip
cpython-9df891ca41e98d6b008cbc6ccc738d531dcb42e4.tar.gz
cpython-9df891ca41e98d6b008cbc6ccc738d531dcb42e4.tar.bz2
- Fix typos in the multiprocessing module.
-rw-r--r--Lib/multiprocessing/synchronize.py2
-rw-r--r--Misc/NEWS6
-rw-r--r--Modules/_multiprocessing/multiprocessing.c2
3 files changed, 6 insertions, 4 deletions
diff --git a/Lib/multiprocessing/synchronize.py b/Lib/multiprocessing/synchronize.py
index 22eabe5..0faca78 100644
--- a/Lib/multiprocessing/synchronize.py
+++ b/Lib/multiprocessing/synchronize.py
@@ -199,7 +199,7 @@ class Condition(object):
num_waiters = (self._sleeping_count._semlock._get_value() -
self._woken_count._semlock._get_value())
except Exception:
- num_waiters = 'unkown'
+ num_waiters = 'unknown'
return '<Condition(%s, %s)>' % (self._lock, num_waiters)
def wait(self, timeout=None):
diff --git a/Misc/NEWS b/Misc/NEWS
index 98c4c19..33a8b80 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,14 +10,16 @@ What's New in Python 3.3.3?
Core and Builtins
-----------------
-- Issue #17754: Make ctypes.util.find_library() independent of the locale.
-
- Issue #17927: Frame objects kept arguments alive if they had been copied into
a cell, even if the cell was cleared.
Library
-------
+- Fix typos in the multiprocessing module.
+
+- Issue #17754: Make ctypes.util.find_library() independent of the locale.
+
- Issue #17968: Fix memory leak in os.listxattr().
Documentation
diff --git a/Modules/_multiprocessing/multiprocessing.c b/Modules/_multiprocessing/multiprocessing.c
index eb05c62..9460c89 100644
--- a/Modules/_multiprocessing/multiprocessing.c
+++ b/Modules/_multiprocessing/multiprocessing.c
@@ -46,7 +46,7 @@ mp_SetError(PyObject *Type, int num)
break;
default:
PyErr_Format(PyExc_RuntimeError,
- "unkown error number %d", num);
+ "unknown error number %d", num);
}
return NULL;
}