aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/getcompiler.c
diff options
context:
space:
mode:
authorPetr Viktorin <encukou@gmail.com>2025-03-11 11:21:18 +0100
committerGitHub <noreply@github.com>2025-03-11 11:21:18 +0100
commitad0f618ab3eb1f26f8830a863aaf7bb70835c00d (patch)
treeb32ac2538aa51de246074517f3130748abc37d16 /Python/getcompiler.c
parentfaadb446d9d26827e23dc1cf68ffb6218bc70d32 (diff)
downloadcpython-ad0f618ab3eb1f26f8830a863aaf7bb70835c00d.tar.gz
cpython-ad0f618ab3eb1f26f8830a863aaf7bb70835c00d.zip
gh-129675: Update documentation for tp_basicsize & tp_itemsize (#129850)
* Update documentation for tp_basicsize & tp_itemsize - Add alignment requirement - Mention that ob_size is unreliable if you don't control it - Add some links for context - basicsize should include the base type in generaly not just PyObject This adds a “by-the-way” link to `PyObject_New`, which shouldn't be used for GC types. In order to be comfortable linking to it, I also add a link to `PyObject_GC_New` from its docs. And the same for `*Var` variants, while I'm here. * Strongly suggest Py_SIZE & Py_SET_SIZE
Diffstat (limited to 'Python/getcompiler.c')
0 files changed, 0 insertions, 0 deletions