summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
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)
{