mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Fix typos mostly in comments, docs and test names (GH-15209)
(cherry picked from commit 39d87b5471
)
Co-authored-by: Min ho Kim <minho42@gmail.com>
This commit is contained in:
parent
3d75857dfa
commit
4bd1d05ee2
46 changed files with 60 additions and 60 deletions
|
@ -730,7 +730,7 @@ PyState_RemoveModule(struct PyModuleDef* def)
|
|||
return -1;
|
||||
}
|
||||
if (state->modules_by_index == NULL) {
|
||||
Py_FatalError("PyState_RemoveModule: Interpreters module-list not acessible.");
|
||||
Py_FatalError("PyState_RemoveModule: Interpreters module-list not accessible.");
|
||||
return -1;
|
||||
}
|
||||
if (index > PyList_GET_SIZE(state->modules_by_index)) {
|
||||
|
@ -885,7 +885,7 @@ PyThreadState_DeleteCurrent()
|
|||
* Note that, if there is a current thread state, it *must* be the one
|
||||
* passed as argument. Also, this won't touch any other interpreters
|
||||
* than the current one, since we don't know which thread state should
|
||||
* be kept in those other interpreteres.
|
||||
* be kept in those other interpreters.
|
||||
*/
|
||||
void
|
||||
_PyThreadState_DeleteExcept(_PyRuntimeState *runtime, PyThreadState *tstate)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue