From: doko@ubuntu.com Date: Wed, 15 May 2013 16:06:56 +0000 (+0200) Subject: - Fix typos in the multiprocessing module. X-Git-Tag: v3.4.0a1~725^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9df891ca41e98d6b008cbc6ccc738d531dcb42e4;p=thirdparty%2FPython%2Fcpython.git - Fix typos in the multiprocessing module. --- diff --git a/Lib/multiprocessing/synchronize.py b/Lib/multiprocessing/synchronize.py index 22eabe55b84f..0faca78412c4 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 '' % (self._lock, num_waiters) def wait(self, timeout=None): diff --git a/Misc/NEWS b/Misc/NEWS index 98c4c19a4d88..33a8b80cc9a4 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 eb05c62b0d05..9460c896ca89 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; }