Merge spelling fixes from 3.5

This commit is contained in:
Martin Panter 2016-06-20 07:55:14 +00:00
commit 590dcab95a
2 changed files with 2 additions and 2 deletions

View File

@ -270,5 +270,5 @@ class SuspiciousVisitor(nodes.GenericNodeVisitor):
# ignore comments -- too much false positives.
# (although doing this could miss some errors;
# there were two sections "commented-out" by mistake
# in the Python docs that would not be catched)
# in the Python docs that would not be caught)
raise nodes.SkipNode

View File

@ -2155,7 +2155,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;