Skip to content

Commit 6d4c6bf

Browse files
committed
1 parent b15b577 commit 6d4c6bf

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎InternalDocs/garbage_collector.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,8 @@ and, during garbage collection, differentiate reachable vs. unreachable objects.
146146
```
147147

148148
Note that not all fields are to scale. `ob_flags` is two bytes, `ob_mutex` and
149-
`ob_gc_bits` are each one byte, and `ob_ref_local` is four bytes. The
150-
other fields, `ob_tid`, `ob_ref_shared`, and `ob_type`, are all
151-
pointer-sized (that is, eight bytes on a 64-bit platform).
149+
`ob_gc_bits` are each one byte, and `ob_ref_local` is four bytes. As for the
150+
other fields, `ob_tid`, `ob_type`, are pointer-sized (that is, eight bytes on a 64-bit platform), and `ob_ref_shared` is [size_t-sized](https://docs.python.org/3/c-api/intro.html#c.Py_ssize_t).
152151

153152

154153
The garbage collector also temporarily repurposes the `ob_tid` (thread ID)

0 commit comments

Comments
 (0)