Commit cbb64845 authored by Stéphane Wirtel's avatar Stéphane Wirtel Committed by Kushal Das

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
parent fed02e15
.. highlightlang:: c
.. highlight:: c
.. _abstract:
......
.. highlightlang:: c
.. highlight:: c
.. _allocating-objects:
......
.. highlightlang:: c
.. highlight:: c
.. _apiabiversion:
......
.. highlightlang:: c
.. highlight:: c
.. _arg-parsing:
......
.. highlightlang:: c
.. highlight:: c
.. _boolobjects:
......
.. highlightlang:: c
.. highlight:: c
.. index::
single: buffer protocol
......
.. highlightlang:: c
.. highlight:: c
.. _bytearrayobjects:
......
.. highlightlang:: c
.. highlight:: c
.. _bytesobjects:
......
.. highlightlang:: c
.. highlight:: c
.. _capsules:
......
.. highlightlang:: c
.. highlight:: c
.. _cell-objects:
......
.. highlightlang:: c
.. highlight:: c
.. _codeobjects:
......
.. highlightlang:: c
.. highlight:: c
.. _complexobjects:
......
.. highlightlang:: c
.. highlight:: c
.. _concrete:
......
.. highlightlang:: c
.. highlight:: c
.. _contextvarsobjects:
......
.. highlightlang:: c
.. highlight:: c
.. _string-conversion:
......
.. highlightlang:: c
.. highlight:: c
.. _coro-objects:
......
.. highlightlang:: c
.. highlight:: c
.. _datetimeobjects:
......
.. highlightlang:: c
.. highlight:: c
.. _descriptor-objects:
......
.. highlightlang:: c
.. highlight:: c
.. _dictobjects:
......
.. highlightlang:: c
.. highlight:: c
.. _exceptionhandling:
......
.. highlightlang:: c
.. highlight:: c
.. _fileobjects:
......
.. highlightlang:: c
.. highlight:: c
.. _floatobjects:
......
.. highlightlang:: c
.. highlight:: c
.. _function-objects:
......
.. highlightlang:: c
.. highlight:: c
.. _supporting-cycle-detection:
......
.. highlightlang:: c
.. highlight:: c
.. _gen-objects:
......
.. highlightlang:: c
.. highlight:: c
.. _importing:
......
.. highlightlang:: c
.. highlight:: c
.. _initialization:
......
.. highlightlang:: c
.. highlight:: c
.. _api-intro:
......
.. highlightlang:: c
.. highlight:: c
.. _iterator:
......
.. highlightlang:: c
.. highlight:: c
.. _iterator-objects:
......
.. highlightlang:: c
.. highlight:: c
.. _listobjects:
......
.. highlightlang:: c
.. highlight:: c
.. _longobjects:
......
.. highlightlang:: c
.. highlight:: c
.. _mapping:
......
.. highlightlang:: c
.. highlight:: c
.. _marshalling-utils:
......
.. highlightlang:: c
.. highlight:: c
.. _memory:
......
.. highlightlang:: c
.. highlight:: c
.. _memoryview-objects:
......
.. highlightlang:: c
.. highlight:: c
.. _instancemethod-objects:
......
.. highlightlang:: c
.. highlight:: c
.. _moduleobjects:
......
.. highlightlang:: c
.. highlight:: c
.. _noneobject:
......
.. highlightlang:: c
.. highlight:: c
.. _number:
......
.. highlightlang:: c
.. highlight:: c
Old Buffer Protocol
-------------------
......
.. highlightlang:: c
.. highlight:: c
.. _object:
......
.. highlightlang:: c
.. highlight:: c
.. _newtypes:
......
.. highlightlang:: c
.. highlight:: c
.. _countingrefs:
......
.. highlightlang:: c
.. highlight:: c
.. _reflection:
......
.. highlightlang:: c
.. highlight:: c
.. _sequence:
......
.. highlightlang:: c
.. highlight:: c
.. _setobjects:
......
.. highlightlang:: c
.. highlight:: c
.. _slice-objects:
......
.. highlightlang:: c
.. highlight:: c
.. _stable:
......
.. highlightlang:: c
.. highlight:: c
.. _common-structs:
......
.. highlightlang:: c
.. highlight:: c
.. _os:
......
.. highlightlang:: c
.. highlight:: c
.. _tupleobjects:
......
.. highlightlang:: c
.. highlight:: c
.. _typeobjects:
......
.. highlightlang:: c
.. highlight:: c
.. _type-structs:
......
.. highlightlang:: c
.. highlight:: c
.. _unicodeobjects:
......
.. highlightlang:: c
.. highlight:: c
.. _utilities:
......
.. highlightlang:: c
.. highlight:: c
.. _veryhigh:
......
.. highlightlang:: c
.. highlight:: c
.. _weakrefobjects:
......
.. 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
============================================
......
.. highlightlang:: c
.. highlight:: c
.. _embedding:
......
.. highlightlang:: c
.. highlight:: c
.. _extending-intro:
......
.. highlightlang:: c
.. highlight:: c
.. _new-types-topics:
......
.. highlightlang:: c
.. highlight:: c
.. _defining-new-types:
......
.. highlightlang:: c
.. highlight:: c
.. _building-on-windows:
......
:tocdepth: 2
.. highlightlang:: none
.. highlight:: none
.. _windows-faq:
......
.. highlightlang:: c
.. highlight:: c
**********************
Argument Clinic How-To
......
.. highlightlang:: c
.. highlight:: c
.. _cporting-howto:
......
.. highlightlang:: none
.. highlight:: none
.. _install-index:
......
.. highlightlang:: none
.. highlight:: none
.. _installing-index:
......
......@@ -8,7 +8,7 @@
--------------
.. highlightlang:: none
.. highlight:: none
**This module is automatically imported during initialization.** The automatic
import can be suppressed using the interpreter's :option:`-S` option.
......
.. highlightlang:: none
.. highlight:: none
.. _history-and-license:
......
.. highlightlang:: sh
.. highlight:: sh
.. ATTENTION: You probably should update Misc/python.man, too, if you modify
this file.
......
.. highlightlang:: sh
.. highlight:: sh
.. _using-on-unix:
......
.. highlightlang:: none
.. highlight:: none
.. _using-on-windows:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment