mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
[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 d32e8d6070
)
Co-authored-by: TATHAGATA ROY <royzen9495@gmail.com>
This commit is contained in:
parent
638c2bacde
commit
335fbd65db
3 changed files with 6 additions and 6 deletions
|
@ -3,7 +3,7 @@
|
||||||
.. _floatobjects:
|
.. _floatobjects:
|
||||||
|
|
||||||
Floating Point Objects
|
Floating Point Objects
|
||||||
----------------------
|
======================
|
||||||
|
|
||||||
.. index:: pair: object; floating point
|
.. index:: pair: object; floating point
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ Floating Point Objects
|
||||||
|
|
||||||
|
|
||||||
Pack and Unpack functions
|
Pack and Unpack functions
|
||||||
=========================
|
-------------------------
|
||||||
|
|
||||||
The pack and unpack functions provide an efficient platform-independent way to
|
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
|
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
|
.. versionadded:: 3.11
|
||||||
|
|
||||||
Pack functions
|
Pack functions
|
||||||
--------------
|
^^^^^^^^^^^^^^
|
||||||
|
|
||||||
The pack routines write 2, 4 or 8 bytes, starting at *p*. *le* is an
|
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
|
: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
|
Unpack functions
|
||||||
----------------
|
^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
The unpack routines read 2, 4 or 8 bytes, starting at *p*. *le* is an
|
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
|
:c:expr:`int` argument, non-zero if the bytes string is in little-endian format
|
||||||
|
|
|
@ -134,7 +134,7 @@ See also :ref:`Reflection <reflection>`.
|
||||||
|
|
||||||
|
|
||||||
Internal Frames
|
Internal Frames
|
||||||
---------------
|
^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Unless using :pep:`523`, you will not need this.
|
Unless using :pep:`523`, you will not need this.
|
||||||
|
|
||||||
|
|
|
@ -113,7 +113,7 @@ Slice Objects
|
||||||
|
|
||||||
|
|
||||||
Ellipsis Object
|
Ellipsis Object
|
||||||
---------------
|
^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
.. c:var:: PyObject *Py_Ellipsis
|
.. c:var:: PyObject *Py_Ellipsis
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue