diff options
author | Min ho Kim <minho42@gmail.com> | 2019-07-05 21:39:32 (GMT) |
---|---|---|
committer | Brett Cannon <54418+brettcannon@users.noreply.github.com> | 2019-07-05 21:39:32 (GMT) |
commit | f7d72e48fb235684e17668a1e5107e6b0dab7b80 (patch) | |
tree | 58999471e0bd6bd96173f4b1039b82526a13c85d /Modules/_abc.c | |
parent | 10e5c66789a06dc9015a24968e96e77a75725a7a (diff) | |
download | cpython-f7d72e48fb235684e17668a1e5107e6b0dab7b80.zip cpython-f7d72e48fb235684e17668a1e5107e6b0dab7b80.tar.gz cpython-f7d72e48fb235684e17668a1e5107e6b0dab7b80.tar.bz2 |
Fix some typos (GH-14435)
Diffstat (limited to 'Modules/_abc.c')
-rw-r--r-- | Modules/_abc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_abc.c b/Modules/_abc.c index 7233690..219ea0d 100644 --- a/Modules/_abc.c +++ b/Modules/_abc.c @@ -554,7 +554,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, @@ -666,7 +666,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; } |