Issue #23943: Fix typos. Patch by Piotr Kasprzyk.
diff --git a/Include/object.h b/Include/object.h
index 9fc0583..807b241 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -778,7 +778,7 @@
} while (0)
/* Safely decref `op` and set `op` to NULL, especially useful in tp_clear
- * and tp_dealloc implementatons.
+ * and tp_dealloc implementations.
*
* Note that "the obvious" code can be deadly:
*
diff --git a/Include/pyport.h b/Include/pyport.h
index 85e852f..2259548 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -265,7 +265,7 @@
* for platforms that support that.
*
* If PY_LOCAL_AGGRESSIVE is defined before python.h is included, more
- * "aggressive" inlining/optimizaion is enabled for the entire module. This
+ * "aggressive" inlining/optimization is enabled for the entire module. This
* may lead to code bloat, and may slow things down for those reasons. It may
* also lead to errors, if the code relies on pointer aliasing. Use with
* care.