summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2015-04-14 06:35:51 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2015-04-14 06:35:51 (GMT)
commitdfa4e045a363fd1dd31c1d57002fc78c10de85a2 (patch)
tree3f044e4d37129fb3dd70d1535cad09c2f78d9563 /Include
parenta468db9b0bd8d17575923b91db5fbc4a222d4252 (diff)
parent4882cacab6bcaf90ac496fc8878987598e7665c1 (diff)
downloadcpython-dfa4e045a363fd1dd31c1d57002fc78c10de85a2.zip
cpython-dfa4e045a363fd1dd31c1d57002fc78c10de85a2.tar.gz
cpython-dfa4e045a363fd1dd31c1d57002fc78c10de85a2.tar.bz2
Issue #23943: Fix typos. Patch by Piotr Kasprzyk.
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 e29608a..5716f66 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -782,7 +782,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 82ad718..66e00d4 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.