diff options
author | Min ho Kim <minho42@gmail.com> | 2019-08-30 20:21:19 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2019-08-30 20:21:19 (GMT) |
commit | 39d87b54715197ca9dcb6902bb43461c0ed701a2 (patch) | |
tree | 778362acb785069882291e2e39f64fd395d73889 /Python | |
parent | 15119bc2a7e902ae1c6988556c3bef3de87fa789 (diff) | |
download | cpython-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')
-rw-r--r-- | Python/ast.c | 2 | ||||
-rw-r--r-- | Python/pystate.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Python/ast.c b/Python/ast.c index 8b3dbea..1152402 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -5356,7 +5356,7 @@ typedef struct { doubling the number allocated each time. Note that the f-string f'{0}a{1}' contains 3 expr_ty's: 2 FormattedValue's, and one Constant for the literal 'a'. So you add expr_ty's about twice as - fast as you add exressions in an f-string. */ + fast as you add expressions in an f-string. */ Py_ssize_t allocated; /* Number we've allocated. */ Py_ssize_t size; /* Number we've used. */ 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) |