MCPcopy Index your code
hub / github.com/RustPython/RustPython / get_items

Method get_items

Lib/test/test_opcache.py:585–593  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

583
584 def test_binary_subscr_getitem(self):
585 def get_items():
586 class C:
587 __getitem__ = lambda self, item: None
588
589 items = []
590 for _ in range(self.ITEMS):
591 item = C()
592 items.append(item)
593 return items
594
595 def read(items):
596 for item in items:

Callers

nothing calls this directly

Calls 5

setattrFunction · 0.85
CClass · 0.70
gFunction · 0.70
evalFunction · 0.50
appendMethod · 0.45

Tested by

no test coverage detected