Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ Y
Class
Y
Lib/test/test_dict.py:1283–1286 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1281
1282
# test fix for seg fault reported in bpo-38588 part 1.
1283
class
Y:
1284
def
__eq__(self, other):
1285
dict_d.clear()
1286
return
True
1287
1288
dict_c = {0: Y()}
1289
dict_d = {0: set()}
Callers
1
test_equal_operator_modifying_operand
Method · 0.70
Calls
no outgoing calls
Tested by
1
test_equal_operator_modifying_operand
Method · 0.56