mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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() -
|
||||
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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue