Skip to content

Commit e422f35

Browse files
iritkatrielroy9495
andauthored
[3.11] gh-105196: Fix indentations of section headings in C API docs (#105672) (#105786)
gh-105196: Fix indentations of section headings in C API docs (#105672) Co-authored-by: TATHAGATA ROY <[email protected]>
1 parent ab05468 commit e422f35

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
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/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)