Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ h
Class
h
Lib/test/test_heapq.py:603–606 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
601
def
test_comparison_operator_modifying_heap_two_heaps(self):
602
603
class
h(int):
604
def
__lt__(self, o):
605
list2.clear()
606
return
NotImplemented
607
608
class
g(int):
609
def
__lt__(self, o):
Callers
9
test_mro_conflicts
Method · 0.70
i
Method · 0.70
i
Method · 0.70
test_comparison_operator_modifying_heap_two_heaps
Method · 0.70
h
Method · 0.70
_check_recursive_traceback_display
Method · 0.70
testMixedFreevarsAndCellvars
Method · 0.70
testLambdas
Method · 0.70
testNestedNonLocal
Method · 0.70
Calls
no outgoing calls
Tested by
9
test_mro_conflicts
Method · 0.56
i
Method · 0.56
i
Method · 0.56
test_comparison_operator_modifying_heap_two_heaps
Method · 0.56
h
Method · 0.56
_check_recursive_traceback_display
Method · 0.56
testMixedFreevarsAndCellvars
Method · 0.56
testLambdas
Method · 0.56
testNestedNonLocal
Method · 0.56