Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ clear
Method
clear
Lib/test/test_functools.py:2644–2645 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
2642
self.set_ops.append(key)
2643
self.data[key] = value
2644
def
clear(self):
2645
self.data.clear()
2646
2647
td = TracingDict()
2648
with
support.swap_attr(weakref,
"WeakKeyDictionary"
,
lambda
: td):
Callers
nothing calls this directly
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected