@@ -24,7 +24,7 @@ the interpreter is shutting down using a simulated garbage collection.
2424
2525For example:
2626
27- .. code-block :: C
27+ .. code-block :: c
2828
2929 static PyObject *
3030 my_singleton_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
@@ -178,7 +178,7 @@ Immortality Has No Impact on Reference Counting Performance
178178
179179If the primary issue with cross-interpreter reference counting is thread-safety,
180180why not make reference counting atomic? Unfortunately, atomic operations are
181- slower than their non-atomic counterparts, so this would hurt overalll
181+ slower than their non-atomic counterparts, so this would hurt overall
182182performance. :pep: `703 ` managed to solve this issue using biased reference
183183counting, splitting the reference count field into two, but at the cost of
184184breaking the stable C API. Atomic reference counting on its own also doesn't
@@ -395,7 +395,7 @@ The initial problem to solve with deallocating immortal objects is that they
395395can run finalizers, which might reference other immortal objects. Imagine a
396396case where there are two immortal objects: A, and B. Object B has a finalizer
397397that references object A, and object A has a finalizer that references object
398- B. The solution is to simply run their finalizer seperately from their
398+ B. The solution is to simply run their finalizer separately from their
399399deallocator.
400400
401401Temporary Mortalization for Finalizers
0 commit comments