https://github.com/python/cpython/commit/b201a6a1f107ca3ff4201cb4dc3cd677db6cb52d
commit: b201a6a1f107ca3ff4201cb4dc3cd677db6cb52d
branch: 3.12
author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
committer: erlend-aasland <erlend.aasl...@protonmail.com>
date: 2024-01-16T23:35:20Z
summary:

[3.12] gh-106293: Fix typos in Objects/object_layout.md (GH-106294) (#114158)

(cherry picked from commit 60ca37fdee52cc4ff318b6e9ddbb260e8583b33b)

Co-authored-by: Mano Sriram <mano.srir...@gmail.com>
Co-authored-by: Terry Jan Reedy <tjre...@udel.edu>

files:
M Objects/object_layout.md

diff --git a/Objects/object_layout.md b/Objects/object_layout.md
index 82483022a01442..894c4129de0327 100644
--- a/Objects/object_layout.md
+++ b/Objects/object_layout.md
@@ -7,7 +7,7 @@ Each Python object starts with two fields:
 * ob_refcnt
 * ob_type
 
-which the form the header common to all Python objects, for all versions,
+which form the header common to all Python objects, for all versions,
 and hold the reference count and class of the object, respectively.
 
 ## Pre-header
@@ -36,7 +36,7 @@ and the ``dict`` field points to the dictionary.
 
 ## 3.12 pre-header
 
-In 3.12 the pointer to the list of weak references is added to the
+In 3.12, the pointer to the list of weak references is added to the
 pre-header. In order to make space for it, the ``dict`` and ``values``
 pointers are combined into a single tagged pointer:
 
@@ -62,7 +62,7 @@ the values pointer, to enable the (legacy) C-API function
 * ob_refcnt
 * ob_type
 
-For a "normal" Python object, that is one that doesn't inherit from a builtin
+For a "normal" Python object, one that doesn't inherit from a builtin
 class or have slots, the header and pre-header form the entire object.
 
 ![Layout of "normal" object in 3.12](./object_layout_312.png)

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to