mirror of https://github.com/python/cpython
- Fix typos in the multiprocessing module.
This commit is contained in:
commit
94fd53ba4e
|
@ -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().
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue