File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Each Python object starts with two fields:
77* ob_refcnt
88* ob_type
99
10- which the form the header common to all Python objects, for all versions,
10+ which form the header common to all Python objects, for all versions,
1111and hold the reference count and class of the object, respectively.
1212
1313## Pre-header
@@ -36,7 +36,7 @@ and the ``dict`` field points to the dictionary.
3636
3737## 3.12 pre-header
3838
39- In 3.12 the pointer to the list of weak references is added to the
39+ In 3.12, the pointer to the list of weak references is added to the
4040pre-header. In order to make space for it, the `` dict `` and `` values ``
4141pointers are combined into a single tagged pointer:
4242
@@ -62,7 +62,7 @@ the values pointer, to enable the (legacy) C-API function
6262* ob_refcnt
6363* ob_type
6464
65- For a "normal" Python object, that is one that doesn't inherit from a builtin
65+ For a "normal" Python object, one that doesn't inherit from a builtin
6666class or have slots, the header and pre-header form the entire object.
6767
6868![ Layout of "normal" object in 3.12] ( ./object_layout_312.png )
You can’t perform that action at this time.
0 commit comments