Skip to content

Commit 335fbd6

Browse files
[3.12] gh-105196: Fix indentations of section headings in C API docs (GH-105672) (#105782)
gh-105196: Fix indentations of section headings in C API docs (GH-105672) (cherry picked from commit d32e8d6) Co-authored-by: TATHAGATA ROY <[email protected]>
1 parent 638c2ba commit 335fbd6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Doc/c-api/float.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
.. _floatobjects:
44

55
Floating Point Objects
6-
----------------------
6+
======================
77

88
.. index:: pair: object; floating point
99

@@ -79,7 +79,7 @@ Floating Point Objects
7979
8080
8181
Pack and Unpack functions
82-
=========================
82+
-------------------------
8383
8484
The pack and unpack functions provide an efficient platform-independent way to
8585
store floating-point values as byte strings. The Pack routines produce a bytes
@@ -104,7 +104,7 @@ happens in such cases is partly accidental (alas).
104104
.. versionadded:: 3.11
105105
106106
Pack functions
107-
--------------
107+
^^^^^^^^^^^^^^
108108
109109
The pack routines write 2, 4 or 8 bytes, starting at *p*. *le* is an
110110
:c:expr:`int` argument, non-zero if you want the bytes string in little-endian
@@ -135,7 +135,7 @@ There are two problems on non-IEEE platforms:
135135
136136
137137
Unpack functions
138-
----------------
138+
^^^^^^^^^^^^^^^^
139139
140140
The unpack routines read 2, 4 or 8 bytes, starting at *p*. *le* is an
141141
:c:expr:`int` argument, non-zero if the bytes string is in little-endian format

Doc/c-api/frame.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ See also :ref:`Reflection <reflection>`.
134134
135135
136136
Internal Frames
137-
---------------
137+
^^^^^^^^^^^^^^^
138138
139139
Unless using :pep:`523`, you will not need this.
140140

Doc/c-api/slice.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Slice Objects
113113
114114
115115
Ellipsis Object
116-
---------------
116+
^^^^^^^^^^^^^^^
117117
118118
119119
.. c:var:: PyObject *Py_Ellipsis

0 commit comments

Comments
 (0)