]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.15] Fix typo in C API Type Object Structures documentation (GH-154249) (#154250)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 20 Jul 2026 10:15:06 +0000 (12:15 +0200)
committerGitHub <noreply@github.com>
Mon, 20 Jul 2026 10:15:06 +0000 (10:15 +0000)
(cherry picked from commit 86e1fed859dab3de8f069208ef33cee24d816c79)

Co-authored-by: Michael Newman <michael.b.newman@gmail.com>
Doc/c-api/typeobj.rst

index 16dcb880712d244be54f600b30fd4a18de0c5c63..4000f8aa1d4c0c7b1f68ee06b3a4f8eef2480875 100644 (file)
@@ -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