- Fix typos in the multiprocessing module.

This commit is contained in:
doko@ubuntu.com 2013-05-15 18:08:03 +02:00
commit 94fd53ba4e
3 changed files with 4 additions and 2 deletions

View 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):

View File

@ -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().

View File

@ -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;
}