mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
- Fix typos in the multiprocessing module.
This commit is contained in:
parent
ef535584a9
commit
9df891ca41
3 changed files with 6 additions and 4 deletions
|
@ -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):
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue