Skip to content

Commit 74a45fb

Browse files
committed
DOC: remove CPython C API tutorial links, mention binding generators
Closes gh-796
1 parent 09e18fc commit 74a45fb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/tutorials/introduction.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ function ``foo`` that simply returns ``"bar"``.
6767
:class: seealso
6868

6969
If you need help writing a native module using Python's C API, we recommend
70-
checking out the following resources.
71-
72-
- `The official Python C API documentation <https://docs.python.org/3/extending/index.html>`_
73-
- `RealPython's "Building a Python C Extension Module" introductory tutorial <https://realpython.com/build-python-c-extension-module/>`_
74-
- `pysheeet's "C Extensions" page <https://www.pythonsheets.com/notes/python-c-extensions.html>`_
75-
- `pysheeet-kr's "Python C API cheatsheet" page <https://pysheeet-kr.readthedocs.io/ko/latest/notes/python-capi.html>`_
70+
checking out the `Extending and Embedding the Python Interpreter
71+
<https://docs.python.org/3/extending/index.html>`_ guide in the Python
72+
documentation. Also consider if you need to use the CPython C API directly,
73+
or are perhaps better off using a binding generator tool like Cython,
74+
Pybind11 or Nanobind which will take care of a lot of the low-level details
75+
for you.
7676

7777

7878
The Meson build description

0 commit comments

Comments
 (0)