summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-09-07 12:03:06 +0000
committerMartin Panter <vadmium+py@gmail.com>2016-09-07 12:03:06 +0000
commit917af8f1a80dc9933a6c7697d386c2bd27ccb54d (patch)
treef3b6250be31d5b4b7370d9a1dadf724031afe8ef /Python
parent4f77f2dcd5804d6597029fb8b83d0166f1a09c97 (diff)
downloadcpython-917af8f1a80dc9933a6c7697d386c2bd27ccb54d.tar.gz
Issue #27895: Spelling fixes (Contributed by Ville Skytt?).
Diffstat (limited to 'Python')
-rw-r--r--Python/condvar.h2
-rw-r--r--Python/formatter_unicode.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Python/condvar.h b/Python/condvar.h
index bb5b1b661f..ced910fbea 100644
--- a/Python/condvar.h
+++ b/Python/condvar.h
@@ -238,7 +238,7 @@ _PyCOND_WAIT_MS(PyCOND_T *cv, PyMUTEX_T *cs, DWORD ms)
cv->waiting++;
PyMUTEX_UNLOCK(cs);
/* "lost wakeup bug" would occur if the caller were interrupted here,
- * but we are safe because we are using a semaphore wich has an internal
+ * but we are safe because we are using a semaphore which has an internal
* count.
*/
wait = WaitForSingleObjectEx(cv->sem, ms, FALSE);
diff --git a/Python/formatter_unicode.c b/Python/formatter_unicode.c
index 8e9c502754..e7c6a4f1a5 100644
--- a/Python/formatter_unicode.c
+++ b/Python/formatter_unicode.c
@@ -118,7 +118,7 @@ typedef struct {
} InternalFormatSpec;
#if 0
-/* Occassionally useful for debugging. Should normally be commented out. */
+/* Occasionally useful for debugging. Should normally be commented out. */
static void
DEBUG_PRINT_FORMAT_SPEC(InternalFormatSpec *format)
{