diff options
author | doko@ubuntu.com <doko@ubuntu.com> | 2013-05-15 16:08:03 (GMT) |
---|---|---|
committer | doko@ubuntu.com <doko@ubuntu.com> | 2013-05-15 16:08:03 (GMT) |
commit | 94fd53ba4ee756f0ff17de83b704147596019345 (patch) | |
tree | 0990bda7619732c406722801551e8bbb8114d96f | |
parent | bcaddf6382b2e906b47c6c5c8ff849c69abe6441 (diff) | |
parent | 9df891ca41e98d6b008cbc6ccc738d531dcb42e4 (diff) | |
download | cpython-94fd53ba4ee756f0ff17de83b704147596019345.zip cpython-94fd53ba4ee756f0ff17de83b704147596019345.tar.gz cpython-94fd53ba4ee756f0ff17de83b704147596019345.tar.bz2 |
- Fix typos in the multiprocessing module.
-rw-r--r-- | Lib/multiprocessing/synchronize.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 2 | ||||
-rw-r--r-- | Modules/_multiprocessing/multiprocessing.c | 2 |
3 files changed, 4 insertions, 2 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): @@ -88,6 +88,8 @@ Core and Builtins 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(). diff --git a/Modules/_multiprocessing/multiprocessing.c b/Modules/_multiprocessing/multiprocessing.c index a77c3b3..a4c4b2d 100644 --- a/Modules/_multiprocessing/multiprocessing.c +++ b/Modules/_multiprocessing/multiprocessing.c @@ -44,7 +44,7 @@ _PyMp_SetError(PyObject *Type, int num) break; default: PyErr_Format(PyExc_RuntimeError, - "unkown error number %d", num); + "unknown error number %d", num); } return NULL; } |