https://github.com/python/cpython/commit/9bf5100037f661f3a369d3ee539bec06f063b650
commit: 9bf5100037f661f3a369d3ee539bec06f063b650
branch: main
author: Rodrigo Girão Serrão 
<[email protected]>
committer: hugovk <[email protected]>
date: 2025-11-06T19:11:50+02:00
summary:

Minor documentation improvements (#140626)

files:
M Doc/library/concurrent.interpreters.rst
M Doc/library/heapq.rst

diff --git a/Doc/library/concurrent.interpreters.rst 
b/Doc/library/concurrent.interpreters.rst
index 41ea6af3b226e9..55036090e8d5b8 100644
--- a/Doc/library/concurrent.interpreters.rst
+++ b/Doc/library/concurrent.interpreters.rst
@@ -29,12 +29,12 @@ Actual concurrency is available separately through
 .. seealso::
 
    :class:`~concurrent.futures.InterpreterPoolExecutor`
-      combines threads with interpreters in a familiar interface.
+      Combines threads with interpreters in a familiar interface.
 
-    .. XXX Add references to the upcoming HOWTO docs in the seealso block.
+   .. XXX Add references to the upcoming HOWTO docs in the seealso block.
 
    :ref:`isolating-extensions-howto`
-       how to update an extension module to support multiple interpreters
+      How to update an extension module to support multiple interpreters.
 
    :pep:`554`
 
diff --git a/Doc/library/heapq.rst b/Doc/library/heapq.rst
index 95ef72469b18ef..5049262306a228 100644
--- a/Doc/library/heapq.rst
+++ b/Doc/library/heapq.rst
@@ -58,6 +58,11 @@ functions, respectively.
 The following functions are provided for min-heaps:
 
 
+.. function:: heapify(x)
+
+   Transform list *x* into a min-heap, in-place, in linear time.
+
+
 .. function:: heappush(heap, item)
 
    Push the value *item* onto the *heap*, maintaining the min-heap invariant.
@@ -77,11 +82,6 @@ The following functions are provided for min-heaps:
    followed by a separate call to :func:`heappop`.
 
 
-.. function:: heapify(x)
-
-   Transform list *x* into a min-heap, in-place, in linear time.
-
-
 .. function:: heapreplace(heap, item)
 
    Pop and return the smallest item from the *heap*, and also push the new 
*item*.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to