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

Function setitem

Lib/operator.py:189–191  ·  view source on GitHub ↗

Same as a[b] = c.

(a, b, c)

Source from the content-addressed store, hash-verified

187 raise ValueError('sequence.index(x): x not in sequence')
188
189def setitem(a, b, c):
190 "Same as a[b] = c."
191 a[b] = c
192
193def length_hint(obj, default=0):
194 """

Callers 6

do_testsMethod · 0.85
test_dict_setitemMethod · 0.85
test_object_setitemMethod · 0.85
test_sequence_setitemMethod · 0.85
test_tuple_setitemMethod · 0.85
test_list_setitemMethod · 0.85

Calls

no outgoing calls

Tested by 6

do_testsMethod · 0.68
test_dict_setitemMethod · 0.68
test_object_setitemMethod · 0.68
test_sequence_setitemMethod · 0.68
test_tuple_setitemMethod · 0.68
test_list_setitemMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…