summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-09-07 12:03:06 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-09-07 12:03:06 (GMT)
commit0be894b2f6ca17204922399d6982f0b8a9dc59a1 (patch)
tree74e27a76dc86b36370cc6afb9c160f7503cc7599 /Python
parentbe8da9c9906571698fe218da9e218ece500d5239 (diff)
downloadcpython-0be894b2f6ca17204922399d6982f0b8a9dc59a1.zip
cpython-0be894b2f6ca17204922399d6982f0b8a9dc59a1.tar.gz
cpython-0be894b2f6ca17204922399d6982f0b8a9dc59a1.tar.bz2
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 bb5b1b6..ced910f 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 8e9c502..e7c6a4f 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)
{