| 1 |
++++++++++++++++++++++++++ |
| 2 |
Python C API compatibility |
| 3 |
++++++++++++++++++++++++++ |
| 4 |
|
| 5 |
The ``pythoncapi-compat`` project can be used to write a C or C++ extension |
| 6 |
supporting a wide range of Python versions with a single code base. It is made |
| 7 |
of the ``pythoncapi_compat.h`` header file and the ``upgrade_pythoncapi.py`` |
| 8 |
script. |
| 9 |
|
| 10 |
* Homepage: `GitHub pythoncapi-compat project |
| 11 |
<https://github.com/python/pythoncapi-compat>`_. |
| 12 |
* `Documentation |
| 13 |
<https://pythoncapi-compat.readthedocs.io/en/latest/>`_ |
| 14 |
|
| 15 |
Documentation: |
| 16 |
|
| 17 |
.. toctree:: |
| 18 |
:maxdepth: 2 |
| 19 |
|
| 20 |
upgrade |
| 21 |
api |
| 22 |
users |
| 23 |
tests |
| 24 |
changelog |
| 25 |
links |
| 26 |
|
| 27 |
This project is distributed under the `Zero Clause BSD (0BSD) license |
| 28 |
<https://opensource.org/licenses/0BSD>`_ and is covered by the `PSF Code of |
| 29 |
Conduct <https://www.python.org/psf/codeofconduct/>`_. |