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

Method discard

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

Source from the content-addressed store, hash-verified

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

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