summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2015-04-14 06:30:01 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2015-04-14 06:30:01 (GMT)
commit4882cacab6bcaf90ac496fc8878987598e7665c1 (patch)
tree6dab1cbde4725b432bb3fd06e329d003c6a83376 /Include
parent52a3b74900db90dfbc5d6ce5145bce02d172b1b1 (diff)
downloadcpython-4882cacab6bcaf90ac496fc8878987598e7665c1.zip
cpython-4882cacab6bcaf90ac496fc8878987598e7665c1.tar.gz
cpython-4882cacab6bcaf90ac496fc8878987598e7665c1.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 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.