summaryrefslogtreecommitdiff
path: root/networkx/utils/heaps.py
diff options
context:
space:
mode:
Diffstat (limited to 'networkx/utils/heaps.py')
-rw-r--r--networkx/utils/heaps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/networkx/utils/heaps.py b/networkx/utils/heaps.py
index f64d1286..3db27906 100644
--- a/networkx/utils/heaps.py
+++ b/networkx/utils/heaps.py
@@ -142,7 +142,7 @@ class PairingHeap(MinHeap):
__slots__ = ("left", "next", "prev", "parent")
def __init__(self, key, value):
- super(PairingHeap._Node, self).__init__(key, value)
+ super().__init__(key, value)
# The leftmost child.
self.left = None
# The next sibling.