]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-105196: Fix indentations of section headings in C API docs (#105672)
authorTATHAGATA ROY <royzen9495@gmail.com>
Wed, 14 Jun 2023 14:21:30 +0000 (19:51 +0530)
committerGitHub <noreply@github.com>
Wed, 14 Jun 2023 14:21:30 +0000 (15:21 +0100)
Doc/c-api/float.rst
Doc/c-api/frame.rst
Doc/c-api/slice.rst

index 05b2d100d575cb8b2f0d7e4ed7621d2f78901622..0118bea4e720f803bd98c83f77c5a0655716ab0a 100644 (file)
@@ -3,7 +3,7 @@
 .. _floatobjects:
 
 Floating Point Objects
-----------------------
+======================
 
 .. index:: pair: object; floating point
 
@@ -79,7 +79,7 @@ Floating Point Objects
 
 
 Pack and Unpack functions
-=========================
+-------------------------
 
 The pack and unpack functions provide an efficient platform-independent way to
 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).
 .. versionadded:: 3.11
 
 Pack functions
---------------
+^^^^^^^^^^^^^^
 
 The pack routines write 2, 4 or 8 bytes, starting at *p*. *le* is an
 :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:
 
 
 Unpack functions
-----------------
+^^^^^^^^^^^^^^^^
 
 The unpack routines read 2, 4 or 8 bytes, starting at *p*.  *le* is an
 :c:expr:`int` argument, non-zero if the bytes string is in little-endian format
index 9f7addfbbf3cb42ae7d9b3f702f6c27d4720285c..1accee2767a4852875b91d5b30fcb3e5da35a045 100644 (file)
@@ -134,7 +134,7 @@ See also :ref:`Reflection <reflection>`.
 
 
 Internal Frames
----------------
+^^^^^^^^^^^^^^^
 
 Unless using :pep:`523`, you will not need this.
 
index 8271d9acfb645e182beda6727c6dd3c039b0d9bc..33169ccce89043767c6e5768c3cdb806a2cafe95 100644 (file)
@@ -113,7 +113,7 @@ Slice Objects
 
 
 Ellipsis Object
----------------
+^^^^^^^^^^^^^^^
 
 
 .. c:var:: PyObject *Py_Ellipsis