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

Method remove

Lib/test/test_weakref.py:603–604  ·  view source on GitHub ↗
(k)

Source from the content-addressed store, hash-verified

601 pass
602 data = {}
603 def remove(k):
604 del data[k]
605 def encapsulate():
606 f = lambda : ()
607 data[weakref.ref(f, remove)] = None

Callers 3

test_weak_keyed_itersMethod · 0.45
check_itersMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected