Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cdgriffith/Box
/ clear
Method
clear
box/box_list.py:238–241 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
236
self.pop(self.index(value))
237
238
def
clear(self):
239
self._comment_check_frozen()
240
super().clear()
241
self.__dict__.pop(
"_box_comments"
, None)
242
243
def
reverse(self):
244
self._comment_check_frozen()
Callers
2
test_box_list_index_changes
Method · 0.95
test_frozen_boxlist_refuses_every_mutator
Method · 0.95
Calls
2
_comment_check_frozen
Method · 0.95
pop
Method · 0.45
Tested by
2
test_box_list_index_changes
Method · 0.76
test_frozen_boxlist_refuses_every_mutator
Method · 0.76