Skip to content

Commit 9ab3d31

Browse files
[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 e3510bd) Co-authored-by: Richard Hansen <[email protected]>
1 parent 29997c4 commit 9ab3d31

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
@@ -2201,7 +2201,7 @@ This is done by filling a :c:type:`PyType_Spec` structure and calling
22012201
.. _number-structs:
22022202

22032203
Number Object Structures
2204-
========================
2204+
------------------------
22052205

22062206
.. sectionauthor:: Amaury Forgeot d'Arc
22072207

@@ -2315,7 +2315,7 @@ Number Object Structures
23152315
.. _mapping-structs:
23162316

23172317
Mapping Object Structures
2318-
=========================
2318+
-------------------------
23192319

23202320
.. sectionauthor:: Amaury Forgeot d'Arc
23212321

@@ -2352,7 +2352,7 @@ Mapping Object Structures
23522352
.. _sequence-structs:
23532353

23542354
Sequence Object Structures
2355-
==========================
2355+
--------------------------
23562356

23572357
.. sectionauthor:: Amaury Forgeot d'Arc
23582358

@@ -2432,7 +2432,7 @@ Sequence Object Structures
24322432
.. _buffer-structs:
24332433

24342434
Buffer Object Structures
2435-
========================
2435+
------------------------
24362436

24372437
.. sectionauthor:: Greg J. Stein <[email protected]>
24382438
.. sectionauthor:: Benjamin Peterson
@@ -2527,7 +2527,7 @@ Buffer Object Structures
25272527

25282528

25292529
Async Object Structures
2530-
=======================
2530+
-----------------------
25312531

25322532
.. sectionauthor:: Yury Selivanov <[email protected]>
25332533

@@ -2595,7 +2595,7 @@ Async Object Structures
25952595
.. _slot-typedefs:
25962596

25972597
Slot Type typedefs
2598-
==================
2598+
------------------
25992599

26002600
.. c:type:: PyObject *(*allocfunc)(PyTypeObject *cls, Py_ssize_t nitems)
26012601
@@ -2704,7 +2704,7 @@ Slot Type typedefs
27042704
.. _typedef-examples:
27052705

27062706
Examples
2707-
========
2707+
--------
27082708

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

0 commit comments

Comments
 (0)