Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __eq__
Method
__eq__
Lib/test/test_deque.py:26–28 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
24
self.deque = deque
25
self.result = result
26
def
__eq__(self, other):
27
self.deque.clear()
28
return
self.result
29
30
class
TestBasic(unittest.TestCase):
31
Callers
nothing calls this directly
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected