code: def __gt__(self, other):
      raise TypeError("cannot compare")
  
file_path: networkx/networkx/utils/tests/test_heaps.py
imports: import pytest
  import networkx
  from networkx.utils import BinaryHeap, PairingHeap
label_desc: Use image node_id 6 for calling the X obj's underlying member method code with example usage: obj.__gt__(other) without return types