mirror of
https://github.com/python/cpython.git
synced 2025-09-22 08:23:36 +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
|
@ -5359,7 +5359,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. */
|
||||
|
|
|
@ -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