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

Method discard

Lib/test/test_collections.py:1411–1412  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

1409 self.data.add(item)
1410
1411 def discard(self, item):
1412 self.data.discard(item)
1413
1414class TestCollectionABCs(ABCTestCase):
1415

Callers 15

loop_accept_pipeMethod · 0.45
_unregister_taskFunction · 0.45
_unregister_eager_taskFunction · 0.45
task_doneFunction · 0.45
_on_task_doneMethod · 0.45
_detachMethod · 0.45
_find_testsMethod · 0.45
_find_test_pathMethod · 0.45
test_discardMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected