From b03237ebc89f133bb3c7821e81c4d4827fce0752 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Lapeyre?= Date: Mon, 21 Aug 2023 18:20:54 +0200 Subject: [PATCH] PEP 703: Correct two spelling mistakes (#3298) --- pep-0703.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pep-0703.rst b/pep-0703.rst index be2a8e994..b7a0d6cf3 100644 --- a/pep-0703.rst +++ b/pep-0703.rst @@ -474,7 +474,7 @@ field. Default (``0b00``) """""""""""""""""" -Objects are intitially created in the default state. This is the only +Objects are initially created in the default state. This is the only state that allows for the quick deallocation code path. Otherwise, the thread must merge the local and shared reference count fields, which requires an atomic compare-and-swap. @@ -1311,7 +1311,7 @@ The ``PYTHONGIL=0`` override is important because extensions that are not thread-safe can still be useful in multi-threaded applications. For example, one may want to use the extension from only a single thread or guard access by locks. For context, there are already some extensions -that aren not thread-safe even with the GIL, and users already have to +that are not thread-safe even with the GIL, and users already have to take these sorts of steps. The ``PYTHONGIL=1`` override is sometimes useful for debugging.