Skip to content

Commit 9bf5100

Browse files
Minor documentation improvements (#140626)
1 parent e95e783 commit 9bf5100

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Doc/library/concurrent.interpreters.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ Actual concurrency is available separately through
2929
.. seealso::
3030

3131
:class:`~concurrent.futures.InterpreterPoolExecutor`
32-
combines threads with interpreters in a familiar interface.
32+
Combines threads with interpreters in a familiar interface.
3333

34-
.. XXX Add references to the upcoming HOWTO docs in the seealso block.
34+
.. XXX Add references to the upcoming HOWTO docs in the seealso block.
3535
3636
:ref:`isolating-extensions-howto`
37-
how to update an extension module to support multiple interpreters
37+
How to update an extension module to support multiple interpreters.
3838

3939
:pep:`554`
4040

Doc/library/heapq.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ functions, respectively.
5858
The following functions are provided for min-heaps:
5959

6060

61+
.. function:: heapify(x)
62+
63+
Transform list *x* into a min-heap, in-place, in linear time.
64+
65+
6166
.. function:: heappush(heap, item)
6267

6368
Push the value *item* onto the *heap*, maintaining the min-heap invariant.
@@ -77,11 +82,6 @@ The following functions are provided for min-heaps:
7782
followed by a separate call to :func:`heappop`.
7883

7984

80-
.. function:: heapify(x)
81-
82-
Transform list *x* into a min-heap, in-place, in linear time.
83-
84-
8585
.. function:: heapreplace(heap, item)
8686

8787
Pop and return the smallest item from the *heap*, and also push the new *item*.

0 commit comments

Comments
 (0)