Skip to content

Commit

Permalink
[3.12] gh-105196: Fix indentations of section headings in C API docs (G…
Browse files Browse the repository at this point in the history
…H-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]>
  • Loading branch information
miss-islington and roy9495 authored Jun 15, 2023
1 parent 638c2ba commit 335fbd6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Doc/c-api/float.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.. _floatobjects:

Floating Point Objects
----------------------
======================

.. index:: pair: object; floating point

Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/frame.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ See also :ref:`Reflection <reflection>`.
Internal Frames
---------------
^^^^^^^^^^^^^^^
Unless using :pep:`523`, you will not need this.
Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/slice.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Slice Objects
Ellipsis Object
---------------
^^^^^^^^^^^^^^^
.. c:var:: PyObject *Py_Ellipsis
Expand Down

0 comments on commit 335fbd6

Please sign in to comment.