diff options
author | algonell <algonell@gmail.com> | 2024-09-09 12:58:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-09 12:58:26 (GMT) |
commit | 9017b95ff2dcff16bcb0b0a609ed2b0daa845943 (patch) | |
tree | b7585aa38d40524cd8a0244f5577e50c0ffaaf07 /Modules/_threadmodule.c | |
parent | df4f0cbfad8a1ed0146cabd30d01efd135d4d048 (diff) | |
download | cpython-9017b95ff2dcff16bcb0b0a609ed2b0daa845943.zip cpython-9017b95ff2dcff16bcb0b0a609ed2b0daa845943.tar.gz cpython-9017b95ff2dcff16bcb0b0a609ed2b0daa845943.tar.bz2 |
Fix typos (#123775)
Diffstat (limited to 'Modules/_threadmodule.c')
-rw-r--r-- | Modules/_threadmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_threadmodule.c b/Modules/_threadmodule.c index d21a37d..b3ed8e7 100644 --- a/Modules/_threadmodule.c +++ b/Modules/_threadmodule.c @@ -314,8 +314,8 @@ thread_run(void *boot_raw) // gh-108987: If _thread.start_new_thread() is called before or while // Python is being finalized, thread_run() can called *after*. // _PyRuntimeState_SetFinalizing() is called. At this point, all Python - // threads must exit, except of the thread calling Py_Finalize() whch holds - // the GIL and must not exit. + // threads must exit, except of the thread calling Py_Finalize() which + // holds the GIL and must not exit. // // At this stage, tstate can be a dangling pointer (point to freed memory), // it's ok to call _PyThreadState_MustExit() with a dangling pointer. |