Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cdgriffith/Box
/ __index__
Method
__index__
test/test_box_list.py:796–797 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
794
def
test_rmul_and_index_protocol(self):
795
class
Two:
796
def
__index__(self):
797
return
2
798
799
bl = BoxList([{
"a"
: 1}])
800
for
result in (2 * bl, bl * Two()):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected