summaryrefslogtreecommitdiffstats
path: root/Objects/abstract.c
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-06-20 07:52:50 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-06-20 07:52:50 (GMT)
commit2275e626b1694557f646fd8a06608074731d6c82 (patch)
treea1fefb026e528b27151c2de16c66ca7d68e8104a /Objects/abstract.c
parentce1a9f309fd5b88e2792a8e31c237412fc163d28 (diff)
downloadcpython-2275e626b1694557f646fd8a06608074731d6c82.zip
cpython-2275e626b1694557f646fd8a06608074731d6c82.tar.gz
cpython-2275e626b1694557f646fd8a06608074731d6c82.tar.bz2
Fix spelling errors in code comments
Diffstat (limited to 'Objects/abstract.c')
-rw-r--r--Objects/abstract.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/abstract.c b/Objects/abstract.c
index a0362e7..585992d 100644
--- a/Objects/abstract.c
+++ b/Objects/abstract.c
@@ -2109,7 +2109,7 @@ _Py_CheckFunctionResult(PyObject *func, PyObject *result, const char *where)
"%s returned NULL without setting an error",
where);
#ifdef Py_DEBUG
- /* Ensure that the bug is catched in debug mode */
+ /* Ensure that the bug is caught in debug mode */
Py_FatalError("a function returned NULL without setting an error");
#endif
return NULL;
@@ -2132,7 +2132,7 @@ _Py_CheckFunctionResult(PyObject *func, PyObject *result, const char *where)
where);
_PyErr_ChainExceptions(exc, val, tb);
#ifdef Py_DEBUG
- /* Ensure that the bug is catched in debug mode */
+ /* Ensure that the bug is caught in debug mode */
Py_FatalError("a function returned a result with an error set");
#endif
return NULL;