mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Fix spelling errors in code comments
This commit is contained in:
parent
ce1a9f309f
commit
2275e626b1
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue