summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/float.rst
diff options
context:
space:
mode:
authorTATHAGATA ROY <royzen9495@gmail.com>2023-06-14 14:21:30 (GMT)
committerGitHub <noreply@github.com>2023-06-14 14:21:30 (GMT)
commitd32e8d6070057eb7ad0eb2f9d9f1efab38b2cff4 (patch)
treeda41addb18867ccc062d086962db1cbd68df46eb /Doc/c-api/float.rst
parent4a113e24a38e2537570e4d694f8e0c01354904c4 (diff)
downloadcpython-d32e8d6070057eb7ad0eb2f9d9f1efab38b2cff4.zip
cpython-d32e8d6070057eb7ad0eb2f9d9f1efab38b2cff4.tar.gz
cpython-d32e8d6070057eb7ad0eb2f9d9f1efab38b2cff4.tar.bz2
gh-105196: Fix indentations of section headings in C API docs (#105672)
Diffstat (limited to 'Doc/c-api/float.rst')
-rw-r--r--Doc/c-api/float.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/c-api/float.rst b/Doc/c-api/float.rst
index 05b2d10..0118bea 100644
--- a/Doc/c-api/float.rst
+++ b/Doc/c-api/float.rst
@@ -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