Skip to content

Commit 441f54d

Browse files
authored
Add a section 'Extensions' (#246)
* Add a section 'Extensions' * Update with the recommendations of Nick Coghlan
1 parent 0489194 commit 441f54d

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

extensions.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.. _extensions:
2+
3+
Updating standard library extension modules
4+
===========================================
5+
6+
In this section, we could explain how to write a CPython extension with the C language, but the topic can take a complete book.
7+
8+
For this reason, we prefer to give you some links where you can read a very good documentation.
9+
10+
Read the following references:
11+
12+
* https://docs.python.org/dev/c-api/
13+
* https://docs.python.org/dev/extending/
14+
* https://www.python.org/dev/peps/pep-0399/
15+
* https://pythonextensionpatterns.readthedocs.io/en/latest/

index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ Full Table of Contents
348348
exploring
349349
grammar
350350
compiler
351+
extensions
351352
coverity
352353
clang
353354
buildworker

0 commit comments

Comments
 (0)