File tree Expand file tree Collapse file tree 2 files changed +11
-18
lines changed Expand file tree Collapse file tree 2 files changed +11
-18
lines changed Original file line number Diff line number Diff line change @@ -6,19 +6,14 @@ Python C API compatibility
6
6
:alt: Build status of pythoncapi_compat on GitHub Actions
7
7
:target: https://github.com/pythoncapi/pythoncapi_compat/actions
8
8
9
- The Python C API compatibility project is made of two parts:
9
+ The ``pythoncapi_compat `` project can be used to write a C extension supporting
10
+ a wide range of Python versions with a single code base. It is made of the
11
+ ``pythoncapi_compat.h `` header file and the ``upgrade_pythoncapi.py `` script.
10
12
11
- * ``pythoncapi_compat.h ``: Header file providing new functions of the Python C
12
- API to old Python versions.
13
- * ``upgrade_pythoncapi.py ``: Script upgrading C extension modules to newer
14
- Python API without losing support for old Python versions. It relies on
15
- ``pythoncapi_compat.h ``.
16
-
17
- Homepage:
18
- https://github.com/pythoncapi/pythoncapi_compat
19
-
20
- Latest header file:
21
- https://raw.githubusercontent.com/pythoncapi/pythoncapi_compat/master/pythoncapi_compat.h
13
+ * Homepage: `GitHub pythoncapi_compat project
14
+ <https://github.com/pythoncapi/pythoncapi_compat> `_.
15
+ * `Documentation
16
+ <https://pythoncapi-compat.readthedocs.io/en/latest/> `_
22
17
23
18
This project is distributed under the MIT license and is covered by the `PSF
24
19
Code of Conduct <https://www.python.org/psf/codeofconduct/> `_.
Original file line number Diff line number Diff line change 2
2
Python C API compatibility
3
3
++++++++++++++++++++++++++
4
4
5
- .. image :: https://github.com/pythoncapi/pythoncapi_compat/actions/workflows/build.yml/badge.svg
6
- :alt: Build status of pythoncapi_compat on GitHub Actions
7
- :target: https://github.com/pythoncapi/pythoncapi_compat/actions
8
-
9
5
The ``pythoncapi_compat `` project can be used to write a C extension supporting
10
6
a wide range of Python versions with a single code base. It is made of the
11
7
``pythoncapi_compat.h `` header file and the ``upgrade_pythoncapi.py `` script.
12
8
13
- Homepage: `GitHub pythoncapi_compat project
14
- <https://github.com/pythoncapi/pythoncapi_compat> `_.
9
+ * Homepage: `GitHub pythoncapi_compat project
10
+ <https://github.com/pythoncapi/pythoncapi_compat> `_.
11
+ * `Documentation
12
+ <https://pythoncapi-compat.readthedocs.io/en/latest/> `_
15
13
16
14
Documentation:
17
15
You can’t perform that action at this time.
0 commit comments