From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 20 Jul 2026 10:15:11 +0000 (+0200) Subject: [3.14] Fix typo in C API Type Object Structures documentation (GH-154249) (#154251) X-Git-Url: http://git.ipfire.org/index.cgi?a=commitdiff_plain;h=556062a63e3786c4ef5e74943255416331ebcf72;p=thirdparty%2FPython%2Fcpython.git [3.14] Fix typo in C API Type Object Structures documentation (GH-154249) (#154251) (cherry picked from commit 86e1fed859dab3de8f069208ef33cee24d816c79) Co-authored-by: Michael Newman --- diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index 29204991faae..4d69821ba9df 100644 --- a/Doc/c-api/typeobj.rst +++ b/Doc/c-api/typeobj.rst @@ -3128,7 +3128,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