Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Jack-Lee-Hiter/AlgorithmsByPython
/ __contains__
Method
__contains__
AVL.py:168–172 ·
view source on GitHub ↗
(self, key)
Source
from the content-addressed store, hash-verified
166
return
self.get(key)
167
168
def
__contains__(self, key):
169
if
self._get(key, self.root):
170
return
True
171
else
:
172
return
False
173
174
def
delete(self, key):
175
if
self.size > 1:
Callers
nothing calls this directly
Calls
1
_get
Method · 0.95
Tested by
no test coverage detected