.. 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`
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.
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*.