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

Class ProxyGetItem

Lib/test/test_capi/test_abstract.py:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 raise RuntimeError('do not del evil')
46
47class ProxyGetItem:
48 def __init__(self, obj):
49 self.obj = obj
50 def __getitem__(self, key):
51 return self.obj[key]
52
53class ProxySetItem:
54 def __init__(self, obj):

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…