summaryrefslogtreecommitdiffstats
path: root/Python/import.c
diff options
context:
space:
mode:
authorMin ho Kim <minho42@gmail.com>2019-07-30 22:16:13 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2019-07-30 22:16:13 (GMT)
commitc4cacc8c5eab50db8da3140353596f38a01115ca (patch)
tree9198db7e2525d0f113823faee4b6d4ac7136a633 /Python/import.c
parent0acb646b8e405864224bfd6d7d5089980dea63ac (diff)
downloadcpython-c4cacc8c5eab50db8da3140353596f38a01115ca.zip
cpython-c4cacc8c5eab50db8da3140353596f38a01115ca.tar.gz
cpython-c4cacc8c5eab50db8da3140353596f38a01115ca.tar.bz2
Fix typos in comments, docs and test names (#15018)
* Fix typos in comments, docs and test names * Update test_pyparse.py account for change in string length * Apply suggestion: splitable -> splittable Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Apply suggestion: splitable -> splittable Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Apply suggestion: Dealloccte -> Deallocate Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Update posixmodule checksum. * Reverse idlelib changes.
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c
index 15f1d94..9f5ec28 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -833,7 +833,7 @@ import_add_module(PyThreadState *tstate, PyObject *name)
}
else {
m = PyObject_GetItem(modules, name);
- // For backward-comaptibility we copy the behavior
+ // For backward-compatibility we copy the behavior
// of PyDict_GetItemWithError().
if (_PyErr_ExceptionMatches(tstate, PyExc_KeyError)) {
_PyErr_Clear(tstate);