Skip to content

Commit a0866f4

Browse files
[3.12] Doc: C API: Demote sections to subsections for consistency (GH-126535) (#126545)
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 e3510bd) Co-authored-by: Richard Hansen <[email protected]>
1 parent 4f10b8e commit a0866f4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Doc/c-api/typeobj.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2193,7 +2193,7 @@ This is done by filling a :c:type:`PyType_Spec` structure and calling
21932193
.. _number-structs:
21942194

21952195
Number Object Structures
2196-
========================
2196+
------------------------
21972197

21982198
.. sectionauthor:: Amaury Forgeot d'Arc
21992199

@@ -2307,7 +2307,7 @@ Number Object Structures
23072307
.. _mapping-structs:
23082308

23092309
Mapping Object Structures
2310-
=========================
2310+
-------------------------
23112311

23122312
.. sectionauthor:: Amaury Forgeot d'Arc
23132313

@@ -2344,7 +2344,7 @@ Mapping Object Structures
23442344
.. _sequence-structs:
23452345

23462346
Sequence Object Structures
2347-
==========================
2347+
--------------------------
23482348

23492349
.. sectionauthor:: Amaury Forgeot d'Arc
23502350

@@ -2424,7 +2424,7 @@ Sequence Object Structures
24242424
.. _buffer-structs:
24252425

24262426
Buffer Object Structures
2427-
========================
2427+
------------------------
24282428

24292429
.. sectionauthor:: Greg J. Stein <[email protected]>
24302430
.. sectionauthor:: Benjamin Peterson
@@ -2519,7 +2519,7 @@ Buffer Object Structures
25192519

25202520

25212521
Async Object Structures
2522-
=======================
2522+
-----------------------
25232523

25242524
.. sectionauthor:: Yury Selivanov <[email protected]>
25252525

@@ -2587,7 +2587,7 @@ Async Object Structures
25872587
.. _slot-typedefs:
25882588

25892589
Slot Type typedefs
2590-
==================
2590+
------------------
25912591

25922592
.. c:type:: PyObject *(*allocfunc)(PyTypeObject *cls, Py_ssize_t nitems)
25932593
@@ -2696,7 +2696,7 @@ Slot Type typedefs
26962696
.. _typedef-examples:
26972697

26982698
Examples
2699-
========
2699+
--------
27002700

27012701
The following are simple examples of Python type definitions. They
27022702
include common usage you may encounter. Some demonstrate tricky corner

0 commit comments

Comments
 (0)