Skip to content

Commit e3510bd

Browse files
authored
Doc: C API: Demote sections to subsections for consistency (#126535)
The entire file should be a single section; the headings below the first heading should be subsections.
1 parent 85036c8 commit e3510bd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Doc/c-api/typeobj.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -2230,7 +2230,7 @@ This is done by filling a :c:type:`PyType_Spec` structure and calling
22302230
.. _number-structs:
22312231

22322232
Number Object Structures
2233-
========================
2233+
------------------------
22342234

22352235
.. sectionauthor:: Amaury Forgeot d'Arc
22362236

@@ -2344,7 +2344,7 @@ Number Object Structures
23442344
.. _mapping-structs:
23452345

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

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

@@ -2381,7 +2381,7 @@ Mapping Object Structures
23812381
.. _sequence-structs:
23822382

23832383
Sequence Object Structures
2384-
==========================
2384+
--------------------------
23852385

23862386
.. sectionauthor:: Amaury Forgeot d'Arc
23872387

@@ -2461,7 +2461,7 @@ Sequence Object Structures
24612461
.. _buffer-structs:
24622462

24632463
Buffer Object Structures
2464-
========================
2464+
------------------------
24652465

24662466
.. sectionauthor:: Greg J. Stein <[email protected]>
24672467
.. sectionauthor:: Benjamin Peterson
@@ -2556,7 +2556,7 @@ Buffer Object Structures
25562556

25572557

25582558
Async Object Structures
2559-
=======================
2559+
-----------------------
25602560

25612561
.. sectionauthor:: Yury Selivanov <[email protected]>
25622562

@@ -2624,7 +2624,7 @@ Async Object Structures
26242624
.. _slot-typedefs:
26252625

26262626
Slot Type typedefs
2627-
==================
2627+
------------------
26282628

26292629
.. c:type:: PyObject *(*allocfunc)(PyTypeObject *cls, Py_ssize_t nitems)
26302630
@@ -2733,7 +2733,7 @@ Slot Type typedefs
27332733
.. _typedef-examples:
27342734

27352735
Examples
2736-
========
2736+
--------
27372737

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

0 commit comments

Comments
 (0)