]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-133530: Modify Heapq docs image settings (gh-133937)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Mon, 12 May 2025 16:03:28 +0000 (17:03 +0100)
committerGitHub <noreply@github.com>
Mon, 12 May 2025 16:03:28 +0000 (11:03 -0500)
Add class

Doc/library/heapq.rst

index 183ac9a27d55cd6322f910646c8b10c37aa8a4e2..462b65bc7afba48ed4f21efd357bae009f176a13 100644 (file)
@@ -315,6 +315,7 @@ The strange invariant above is meant to be an efficient memory representation
 for a tournament.  The numbers below are *k*, not ``a[k]``:
 
 .. figure:: heapq-binary-tree.svg
+   :class: invert-in-dark-mode
    :align: center
    :alt: Example (min-heap) binary tree.