Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
1414
class
TestCollectionABCs(ABCTestCase):
1415
Callers
15
loop_accept_pipe
Method · 0.45
future_discard_from_awaited_by
Function · 0.45
_unregister_task
Function · 0.45
_unregister_eager_task
Function · 0.45
task_done
Function · 0.45
_on_task_done
Method · 0.45
_detach
Method · 0.45
_asyncgen_finalizer_hook
Method · 0.45
_find_tests
Method · 0.45
_find_test_path
Method · 0.45
test_subclass_with_custom_hash
Method · 0.45
test_discard
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected