MCPcopy Index your code
hub / github.com/RustPython/RustPython / remove

Method remove

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

Source from the content-addressed store, hash-verified

605 pass
606 data = {}
607 def remove(k):
608 del data[k]
609 def encapsulate():
610 f = lambda : ()
611 data[weakref.ref(f, remove)] = None

Callers 15

test_legacy_finalizerMethod · 0.45
tearDownMethod · 0.45
make_scriptMethod · 0.45
test_directoryMethod · 0.45
test_args_stringMethod · 0.45
test_call_stringMethod · 0.45
tearDownMethod · 0.45
test_removeMethod · 0.45
test_poll1Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected