Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't suggest PEP 697 will be a solution
  • Loading branch information
encukou committed Apr 27, 2023
commit 52135dcaeceb8808d9f95540f0a76472d3706910
5 changes: 3 additions & 2 deletions Doc/c-api/gcsupport.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@ rules:
.. warning::
The function is marked as unstable because the final mechanism
for reserving extra data after an instance is not yet decided.
Once :pep:`697` is implemented, the mechanism described there can
be used to reserve the extra data.
For allocating a variable number of fields, prefer using
:c:type:`PyVarObject` and :c:member:`~PyTypeObject.tp_itemsize`
instead.

.. versionadded:: 3.12

Expand Down