MCPcopy Index your code
hub / github.com/python/cpython / get_items

Method get_items

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

Source from the content-addressed store, hash-verified

663 @requires_specialization
664 def test_binary_subscr_getitem(self):
665 def get_items():
666 class C:
667 __getitem__ = lambda self, item: None
668
669 items = []
670 for _ in range(self.ITEMS):
671 item = C()
672 items.append(item)
673 return items
674
675 def read(items):
676 for item in items:

Callers

nothing calls this directly

Calls 3

CClass · 0.70
gFunction · 0.70
appendMethod · 0.45

Tested by

no test coverage detected