[Python-checkins] cpython (3.5): Fix spelling errors in code comments
martin.panter
python-checkins at python.org
Mon Jun 20 04:33:10 EDT 2016
https://hg.python.org/cpython/rev/1cbe4cf863c5
changeset: 102106:1cbe4cf863c5
branch: 3.5
parent: 102104:a14b93a4eb49
user: Martin Panter <vadmium+py at gmail.com>
date: Mon Jun 20 07:52:50 2016 +0000
summary:
Fix spelling errors in code comments
files:
Doc/tools/extensions/suspicious.py | 2 +-
Objects/abstract.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Doc/tools/extensions/suspicious.py b/Doc/tools/extensions/suspicious.py
--- a/Doc/tools/extensions/suspicious.py
+++ b/Doc/tools/extensions/suspicious.py
@@ -270,5 +270,5 @@
# 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
diff --git a/Objects/abstract.c b/Objects/abstract.c
--- a/Objects/abstract.c
+++ b/Objects/abstract.c
@@ -2109,7 +2109,7 @@
"%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 @@
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;
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list