diff options
author | Stéphane Wirtel <stephane@wirtel.be> | 2019-05-17 09:55:34 (GMT) |
---|---|---|
committer | Kushal Das <mail@kushaldas.in> | 2019-05-17 09:55:34 (GMT) |
commit | cbb6484573ae2058e55614b28d73b0c8478f9a70 (patch) | |
tree | 2279089fb2343dd0a23262c8f69a30cf6e56bce6 /Doc/extending/building.rst | |
parent | fed02e15b39b6f1521ea21654be5fc0757a8720a (diff) | |
download | cpython-cbb6484573ae2058e55614b28d73b0c8478f9a70.zip cpython-cbb6484573ae2058e55614b28d73b0c8478f9a70.tar.gz cpython-cbb6484573ae2058e55614b28d73b0c8478f9a70.tar.bz2 |
Doc: Replace the deprecated highlightlang directive by highlight. (#13377)
highlightlang is deprecated since April 2018 in Sphinx.
See https://github.com/sphinx-doc/sphinx/pull/4845
Diffstat (limited to 'Doc/extending/building.rst')
-rw-r--r-- | Doc/extending/building.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/extending/building.rst b/Doc/extending/building.rst index 9bfad7f..753b551 100644 --- a/Doc/extending/building.rst +++ b/Doc/extending/building.rst @@ -1,4 +1,4 @@ -.. highlightlang:: c +.. highlight:: c .. _building: @@ -20,7 +20,7 @@ The initialization function has the signature: It returns either a fully-initialized module, or a :c:type:`PyModuleDef` instance. See :ref:`initializing-modules` for details. -.. highlightlang:: python +.. highlight:: python For modules with ASCII-only names, the function must be named ``PyInit_<modulename>``, with ``<modulename>`` replaced by the name of the @@ -43,7 +43,7 @@ function corresponding to the filename is found. See the *"Multiple modules in one library"* section in :pep:`489` for details. -.. highlightlang:: c +.. highlight:: c Building C and C++ Extensions with distutils ============================================ |