]> granicus.if.org Git - python/commitdiff
- Fix typos in the multiprocessing module.
authordoko@ubuntu.com <doko@ubuntu.com>
Wed, 15 May 2013 16:06:56 +0000 (18:06 +0200)
committerdoko@ubuntu.com <doko@ubuntu.com>
Wed, 15 May 2013 16:06:56 +0000 (18:06 +0200)
Lib/multiprocessing/synchronize.py
Misc/NEWS
Modules/_multiprocessing/multiprocessing.c

index 22eabe55b84f97efae348d7ea04a23bbfcdc1c32..0faca78412c4f7543690db463987c90814217358 100644 (file)
@@ -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):
index 98c4c19a4d884a2b0e867813193d1e844902bf83..33a8b80cc9a4874d7ea1c6f699cc56908163a187 100644 (file)
--- 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
index eb05c62b0d050684b5ea260e53ea943e069339f0..9460c896ca8928fd059f071a4a6d284e46871ab3 100644 (file)
@@ -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;
 }