Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/c-api/abstract.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _abstract:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/allocation.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _allocating-objects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/apiabiversion.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _apiabiversion:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/arg.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _arg-parsing:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/bool.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _boolobjects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/buffer.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. index::
single: buffer protocol
Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/bytearray.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _bytearrayobjects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/bytes.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _bytesobjects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/capsule.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _capsules:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/cell.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _cell-objects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/code.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _codeobjects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/complex.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _complexobjects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/concrete.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c


.. _concrete:
Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/contextvars.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _contextvarsobjects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/conversion.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _string-conversion:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/coro.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _coro-objects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/datetime.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _datetimeobjects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/descriptor.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _descriptor-objects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/dict.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _dictobjects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/exceptions.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c


.. _exceptionhandling:
Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/file.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _fileobjects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/float.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _floatobjects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/function.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _function-objects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/gcsupport.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _supporting-cycle-detection:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/gen.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _gen-objects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/import.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _importing:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/init.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c


.. _initialization:
Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/intro.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c


.. _api-intro:
Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/iter.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _iterator:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/iterator.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _iterator-objects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/list.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _listobjects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/long.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _longobjects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/mapping.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _mapping:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/marshal.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _marshalling-utils:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/memory.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c


.. _memory:
Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/memoryview.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _memoryview-objects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/method.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _instancemethod-objects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/module.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _moduleobjects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/none.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _noneobject:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/number.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _number:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/objbuffer.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

Old Buffer Protocol
-------------------
Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/object.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _object:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/objimpl.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _newtypes:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/refcounting.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c


.. _countingrefs:
Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/reflection.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _reflection:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/sequence.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _sequence:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/set.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _setobjects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/slice.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _slice-objects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/stable.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _stable:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/structures.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _common-structs:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/sys.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _os:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/tuple.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _tupleobjects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/type.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _typeobjects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/typeobj.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _type-structs:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/unicode.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _unicodeobjects:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/utilities.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _utilities:

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/veryhigh.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c


.. _veryhigh:
Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/weakref.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _weakrefobjects:

Expand Down
6 changes: 3 additions & 3 deletions Doc/extending/building.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _building:

Expand All @@ -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
Expand All @@ -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
============================================
Expand Down
2 changes: 1 addition & 1 deletion Doc/extending/embedding.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c


.. _embedding:
Expand Down
2 changes: 1 addition & 1 deletion Doc/extending/extending.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c


.. _extending-intro:
Expand Down
2 changes: 1 addition & 1 deletion Doc/extending/newtypes.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _new-types-topics:

Expand Down
2 changes: 1 addition & 1 deletion Doc/extending/newtypes_tutorial.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. highlightlang:: c
.. highlight:: c

.. _defining-new-types:

Expand Down
Loading