mirror of https://github.com/python/cpython.git
[3.13] Doc: C API: Demote sections to subsections for consistency (GH-126535) (#126546)
Doc: C API: Demote sections to subsections for consistency (GH-126535)
The entire file should be a single section; the headings below the
first heading should be subsections.
(cherry picked from commit e3510bd3dd
)
Co-authored-by: Richard Hansen <rhansen@rhansen.org>
This commit is contained in:
parent
29997c4fe5
commit
9ab3d31b66
|
@ -2201,7 +2201,7 @@ This is done by filling a :c:type:`PyType_Spec` structure and calling
|
||||||
.. _number-structs:
|
.. _number-structs:
|
||||||
|
|
||||||
Number Object Structures
|
Number Object Structures
|
||||||
========================
|
------------------------
|
||||||
|
|
||||||
.. sectionauthor:: Amaury Forgeot d'Arc
|
.. sectionauthor:: Amaury Forgeot d'Arc
|
||||||
|
|
||||||
|
@ -2315,7 +2315,7 @@ Number Object Structures
|
||||||
.. _mapping-structs:
|
.. _mapping-structs:
|
||||||
|
|
||||||
Mapping Object Structures
|
Mapping Object Structures
|
||||||
=========================
|
-------------------------
|
||||||
|
|
||||||
.. sectionauthor:: Amaury Forgeot d'Arc
|
.. sectionauthor:: Amaury Forgeot d'Arc
|
||||||
|
|
||||||
|
@ -2352,7 +2352,7 @@ Mapping Object Structures
|
||||||
.. _sequence-structs:
|
.. _sequence-structs:
|
||||||
|
|
||||||
Sequence Object Structures
|
Sequence Object Structures
|
||||||
==========================
|
--------------------------
|
||||||
|
|
||||||
.. sectionauthor:: Amaury Forgeot d'Arc
|
.. sectionauthor:: Amaury Forgeot d'Arc
|
||||||
|
|
||||||
|
@ -2432,7 +2432,7 @@ Sequence Object Structures
|
||||||
.. _buffer-structs:
|
.. _buffer-structs:
|
||||||
|
|
||||||
Buffer Object Structures
|
Buffer Object Structures
|
||||||
========================
|
------------------------
|
||||||
|
|
||||||
.. sectionauthor:: Greg J. Stein <greg@lyra.org>
|
.. sectionauthor:: Greg J. Stein <greg@lyra.org>
|
||||||
.. sectionauthor:: Benjamin Peterson
|
.. sectionauthor:: Benjamin Peterson
|
||||||
|
@ -2527,7 +2527,7 @@ Buffer Object Structures
|
||||||
|
|
||||||
|
|
||||||
Async Object Structures
|
Async Object Structures
|
||||||
=======================
|
-----------------------
|
||||||
|
|
||||||
.. sectionauthor:: Yury Selivanov <yselivanov@sprymix.com>
|
.. sectionauthor:: Yury Selivanov <yselivanov@sprymix.com>
|
||||||
|
|
||||||
|
@ -2595,7 +2595,7 @@ Async Object Structures
|
||||||
.. _slot-typedefs:
|
.. _slot-typedefs:
|
||||||
|
|
||||||
Slot Type typedefs
|
Slot Type typedefs
|
||||||
==================
|
------------------
|
||||||
|
|
||||||
.. c:type:: PyObject *(*allocfunc)(PyTypeObject *cls, Py_ssize_t nitems)
|
.. c:type:: PyObject *(*allocfunc)(PyTypeObject *cls, Py_ssize_t nitems)
|
||||||
|
|
||||||
|
@ -2704,7 +2704,7 @@ Slot Type typedefs
|
||||||
.. _typedef-examples:
|
.. _typedef-examples:
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
========
|
--------
|
||||||
|
|
||||||
The following are simple examples of Python type definitions. They
|
The following are simple examples of Python type definitions. They
|
||||||
include common usage you may encounter. Some demonstrate tricky corner
|
include common usage you may encounter. Some demonstrate tricky corner
|
||||||
|
|
Loading…
Reference in New Issue