From 86e1fed859dab3de8f069208ef33cee24d816c79 Mon Sep 17 00:00:00 2001 From: Michael Newman Date: Mon, 20 Jul 2026 06:07:05 -0400 Subject: [PATCH] Fix typo in C API Type Object Structures documentation (#154249) --- Doc/c-api/typeobj.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index 16dcb880712d..4000f8aa1d4c 100644 --- a/Doc/c-api/typeobj.rst +++ b/Doc/c-api/typeobj.rst @@ -3051,7 +3051,7 @@ Buffer Object Structures * Resource cleanup when the counter reaches zero must be done atomically, as the final release may race with concurrent releases from other - threads and dellocation must only happen once. + threads and deallocation must only happen once. The exporter MUST use the :c:member:`~Py_buffer.internal` field to keep track of buffer-specific resources. This field is guaranteed to remain -- 2.47.3