Skip to content

[3.11] gh-105196: Fix indentations of section headings in C API docs (#105672) #105786

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/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