Skip to content

Update filename of Misc/stable_abi.toml #847

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 29, 2022
Merged
Changes from all commits
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
6 changes: 3 additions & 3 deletions c-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -212,17 +212,17 @@ Adding a new definition to the Limited API

with the ``yy`` corresponding to the target CPython version, e.g.
``0x030A0000`` for Python 3.10.
- Append an entry to the Stable ABI manifest, ``Misc/stable_abi.txt``.
- Append an entry to the Stable ABI manifest, ``Misc/stable_abi.toml``
- Regenerate the autogenerated files using ``make regen-limited-abi``.
On platforms without ``make``, run this command directly:

.. code-block:: shell

./python ./Tools/scripts/stable_abi.py --generate-all ./Misc/stable_abi.txt
./python ./Tools/scripts/stable_abi.py --generate-all ./Misc/stable_abi.toml

- Build Python and check the using ``make check-limited-abi``.
On platforms without ``make``, run this command directly:

.. code-block:: shell

./python ./Tools/scripts/stable_abi.py --all ./Misc/stable_abi.txt
./python ./Tools/scripts/stable_abi.py --all ./Misc/stable_abi.toml