Issue #27895:  Spelling fixes (Contributed by Ville Skyttä).
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 @@
     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 @@
 } 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)
 {