diff --git a/CHANGES.rst b/CHANGES.rst index 9466952..3657dbf 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -196,7 +196,7 @@ Known Issues ===================== - Linux: Fix another group of rare crashes that could occur when shutting down an - interpeter running multiple threads. See `issue 325 `_. + interpreter running multiple threads. See `issue 325 `_. 2.0.0rc4 (2022-10-30) diff --git a/src/greenlet/TThreadStateDestroy.cpp b/src/greenlet/TThreadStateDestroy.cpp index 3ad9785..536af0b 100644 --- a/src/greenlet/TThreadStateDestroy.cpp +++ b/src/greenlet/TThreadStateDestroy.cpp @@ -139,7 +139,7 @@ struct ThreadState_DestroyNoGIL // NOTE: Because we're not holding the GIL here, some other // Python thread could run and call ``os.fork()``, which would - // be bad if that happenend while we are holding the cleanup + // be bad if that happened while we are holding the cleanup // lock (it wouldn't function in the child process). // Make a best effort to try to keep the duration we hold the // lock short. diff --git a/src/greenlet/greenlet.cpp b/src/greenlet/greenlet.cpp index dfc748a..a9b5385 100644 --- a/src/greenlet/greenlet.cpp +++ b/src/greenlet/greenlet.cpp @@ -1220,7 +1220,7 @@ mod_gettrace(PyObject* UNUSED(module)) PyDoc_STRVAR(mod_set_thread_local_doc, "set_thread_local(key, value) -> None\n" "\n" - "Set a value in the current thread-local dictionary. Debbuging only.\n"); + "Set a value in the current thread-local dictionary. Debugging only.\n"); static PyObject* mod_set_thread_local(PyObject* UNUSED(module), PyObject* args)