mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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.
This commit is contained in:
parent
0acb646b8e
commit
c4cacc8c5e
63 changed files with 73 additions and 73 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue