summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-07-28 03:04:04 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-07-28 03:04:04 (GMT)
commite2eacc02bcc9f8977f5f3cea6243f236c508b772 (patch)
tree2789ca7368ea04bd2a705ac76afefa2defc0efb6 /Include
parent801110b30319a8ab1f8f29eedbac3798b03afb55 (diff)
downloadcpython-e2eacc02bcc9f8977f5f3cea6243f236c508b772.zip
cpython-e2eacc02bcc9f8977f5f3cea6243f236c508b772.tar.gz
cpython-e2eacc02bcc9f8977f5f3cea6243f236c508b772.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 9fc0583..807b241 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -778,7 +778,7 @@ PyAPI_FUNC(void) _Py_AddToAllObjects(PyObject *, int force);
} 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 @@ typedef Py_intptr_t Py_ssize_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.