summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
Diffstat (limited to 'Include')
-rw-r--r--Include/object.h2
-rw-r--r--Include/pyport.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Include/object.h b/Include/object.h
index 9306288..5f862ab 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -779,7 +779,7 @@ PyAPI_FUNC(void) _Py_Dealloc(PyObject *);
} 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 c706213..b29f9bd 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -270,7 +270,7 @@ typedef int Py_ssize_clean_t;
* 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.