- Fix typos in the multiprocessing module.

This commit is contained in:
doko@ubuntu.com 2013-05-15 18:06:56 +02:00
parent ef535584a9
commit 9df891ca41
3 changed files with 6 additions and 4 deletions

View file

@ -199,7 +199,7 @@ class Condition(object):
num_waiters = (self._sleeping_count._semlock._get_value() - num_waiters = (self._sleeping_count._semlock._get_value() -
self._woken_count._semlock._get_value()) self._woken_count._semlock._get_value())
except Exception: except Exception:
num_waiters = 'unkown' num_waiters = 'unknown'
return '<Condition(%s, %s)>' % (self._lock, num_waiters) return '<Condition(%s, %s)>' % (self._lock, num_waiters)
def wait(self, timeout=None): def wait(self, timeout=None):

View file

@ -10,14 +10,16 @@ What's New in Python 3.3.3?
Core and Builtins 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 - Issue #17927: Frame objects kept arguments alive if they had been copied into
a cell, even if the cell was cleared. a cell, even if the cell was cleared.
Library 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(). - Issue #17968: Fix memory leak in os.listxattr().
Documentation Documentation

View file

@ -46,7 +46,7 @@ mp_SetError(PyObject *Type, int num)
break; break;
default: default:
PyErr_Format(PyExc_RuntimeError, PyErr_Format(PyExc_RuntimeError,
"unkown error number %d", num); "unknown error number %d", num);
} }
return NULL; return NULL;
} }