mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Comment fixes extracted from patch by Demur Rumed.
This commit is contained in:
parent
0db9016a56
commit
5697c4b641
3 changed files with 104 additions and 108 deletions
|
@ -2132,7 +2132,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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue