summaryrefslogtreecommitdiffstats
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorMin ho Kim <minho42@gmail.com>2019-08-30 20:21:19 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2019-08-30 20:21:19 (GMT)
commit39d87b54715197ca9dcb6902bb43461c0ed701a2 (patch)
tree778362acb785069882291e2e39f64fd395d73889 /Python/pystate.c
parent15119bc2a7e902ae1c6988556c3bef3de87fa789 (diff)
downloadcpython-39d87b54715197ca9dcb6902bb43461c0ed701a2.zip
cpython-39d87b54715197ca9dcb6902bb43461c0ed701a2.tar.gz
cpython-39d87b54715197ca9dcb6902bb43461c0ed701a2.tar.bz2
Fix typos mostly in comments, docs and test names (GH-15209)
Diffstat (limited to 'Python/pystate.c')
-rw-r--r--Python/pystate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index 3b2adf5..dc52400 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -729,7 +729,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)) {
@@ -888,7 +888,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)