Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ remove
Method
remove
django/utils/datastructures.py:16–17 ·
view source on GitHub ↗
(self, item)
Source
from the content-addressed store, hash-verified
14
self.dict[item] = None
15
16
def
remove(self, item):
17
del self.dict[item]
18
19
def
discard(self, item):
20
try
:
Callers
15
discard
Method · 0.95
test_remove
Method · 0.95
_set_regex
Method · 0.45
parse_bits
Function · 0.45
bisect_tests
Function · 0.45
paired_tests
Function · 0.45
test_ignores_non_cache_files
Method · 0.45
test_app_list_permissions
Method · 0.45
test_inline
Method · 0.45
test_use_skip_link_to_content
Method · 0.45
test_remove_clears_prefetched_objects
Method · 0.45
test_file_move_ensure_truncation
Method · 0.45
Calls
no outgoing calls
Tested by
15
test_remove
Method · 0.76
bisect_tests
Function · 0.36
paired_tests
Function · 0.36
test_ignores_non_cache_files
Method · 0.36
test_app_list_permissions
Method · 0.36
test_inline
Method · 0.36
test_use_skip_link_to_content
Method · 0.36
test_remove_clears_prefetched_objects
Method · 0.36
test_file_move_ensure_truncation
Method · 0.36
test_pk_set_on_repeated_add_remove
Method · 0.36
test_m2m_relations_signals_remove_relation
Method · 0.36
test_m2m_relations_signals_reverse_relation_with_custom_related_name
Method · 0.36