Skip to content

Commit 9df891c

Browse files
committed
- Fix typos in the multiprocessing module.
1 parent ef53558 commit 9df891c

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Lib/multiprocessing/synchronize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def __repr__(self):
199199
num_waiters = (self._sleeping_count._semlock._get_value() -
200200
self._woken_count._semlock._get_value())
201201
except Exception:
202-
num_waiters = 'unkown'
202+
num_waiters = 'unknown'
203203
return '<Condition(%s, %s)>' % (self._lock, num_waiters)
204204

205205
def wait(self, timeout=None):

Misc/NEWS

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,16 @@ What's New in Python 3.3.3?
1010
Core and Builtins
1111
-----------------
1212

13-
- Issue #17754: Make ctypes.util.find_library() independent of the locale.
14-
1513
- Issue #17927: Frame objects kept arguments alive if they had been copied into
1614
a cell, even if the cell was cleared.
1715

1816
Library
1917
-------
2018

19+
- Fix typos in the multiprocessing module.
20+
21+
- Issue #17754: Make ctypes.util.find_library() independent of the locale.
22+
2123
- Issue #17968: Fix memory leak in os.listxattr().
2224

2325
Documentation

Modules/_multiprocessing/multiprocessing.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ mp_SetError(PyObject *Type, int num)
4646
break;
4747
default:
4848
PyErr_Format(PyExc_RuntimeError,
49-
"unkown error number %d", num);
49+
"unknown error number %d", num);
5050
}
5151
return NULL;
5252
}

0 commit comments

Comments
 (0)