MCPcopy Index your code
hub / github.com/python/cpython / clear

Method clear

Lib/_weakrefset.py:48–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46 self.data.add(ref(item, self._remove))
47
48 def clear(self):
49 self.data.clear()
50
51 def copy(self):
52 return self.__class__(self)

Callers 3

__isub__Method · 0.45
__ixor__Method · 0.45

Calls

no outgoing calls