summaryrefslogtreecommitdiffstats
path: root/Modules/_abc.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-07-05 22:00:43 (GMT)
committerGitHub <noreply@github.com>2019-07-05 22:00:43 (GMT)
commit4bc6bb928d35b4007f2dcb32523624a3205e0e46 (patch)
tree2cae224a7c45616851d841162105d20fba104b9d /Modules/_abc.c
parent229f6e85f8b4d57a2e742e0d3fc361c5bd15f1cb (diff)
downloadcpython-4bc6bb928d35b4007f2dcb32523624a3205e0e46.zip
cpython-4bc6bb928d35b4007f2dcb32523624a3205e0e46.tar.gz
cpython-4bc6bb928d35b4007f2dcb32523624a3205e0e46.tar.bz2
Fix some typos (GH-14435)
(cherry picked from commit f7d72e48fb235684e17668a1e5107e6b0dab7b80) Co-authored-by: Min ho Kim <minho42@gmail.com>
Diffstat (limited to 'Modules/_abc.c')
-rw-r--r--Modules/_abc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_abc.c b/Modules/_abc.c
index 1fbf3a8..de938dd 100644
--- a/Modules/_abc.c
+++ b/Modules/_abc.c
@@ -547,7 +547,7 @@ end:
}
-// Return -1 when exception occured.
+// Return -1 when exception occurred.
// Return 1 when result is set.
// Return 0 otherwise.
static int subclasscheck_check_registry(_abc_data *impl, PyObject *subclass,
@@ -659,7 +659,7 @@ _abc__abc_subclasscheck_impl(PyObject *module, PyObject *self,
/* 5. Check if it's a subclass of a registered class (recursive). */
if (subclasscheck_check_registry(impl, subclass, &result)) {
- // Exception occured or result is set.
+ // Exception occurred or result is set.
goto end;
}