- Fix typos in the multiprocessing module.
diff --git a/Lib/multiprocessing/synchronize.py b/Lib/multiprocessing/synchronize.py
index 22eabe5..0faca78 100644
--- a/Lib/multiprocessing/synchronize.py
+++ b/Lib/multiprocessing/synchronize.py
@@ -199,7 +199,7 @@
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):
diff --git a/Misc/NEWS b/Misc/NEWS
index 98c4c19..33a8b80 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,14 +10,16 @@
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
a cell, even if the cell was cleared.
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().
Documentation
diff --git a/Modules/_multiprocessing/multiprocessing.c b/Modules/_multiprocessing/multiprocessing.c
index eb05c62..9460c89 100644
--- a/Modules/_multiprocessing/multiprocessing.c
+++ b/Modules/_multiprocessing/multiprocessing.c
@@ -46,7 +46,7 @@
break;
default:
PyErr_Format(PyExc_RuntimeError,
- "unkown error number %d", num);
+ "unknown error number %d", num);
}
return NULL;
}