Repository navigation
Commit 6d4c6bf
committed
pythonGH-157724 - GC doc cleanup
- note ob_ref_shared is Py_ssize_t so [size_t-sized](https://docs.python.org/3/c-api/intro.html#c.Py_ssize_t) not necessarily pointer sized.
See https://github.com/python/cpython/blob/b0dda158aad00f0064e220f882792a5bd16ba0a0/Include/object.h#L165 , vs claim in original https://github.com/python/cpython/blob/b0dda158aad00f0064e220f882792a5bd16ba0a0/InternalDocs/garbage_collector.md?plain=1#L150 .
Also https://peps.python.org/pep-0353/#why-not-py-intptr-t .1 parent b15b577 commit 6d4c6bf
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
150 | | - | |
151 | | - | |
| 149 | + | |
| 150 | + | |
152 | 151 | | |
153 | 152 | | |
154 | 153 | | |
| |||
0 commit comments