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

Class Indexable

Lib/test/test_bytes.py:44–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43
44class Indexable:
45 def __init__(self, value=0):
46 self.value = value
47 def __index__(self):
48 return self.value
49
50
51class BaseBytesTest:

Callers 6

test_from_indexMethod · 0.70
do_testsMethod · 0.70
test_extendMethod · 0.70
test_removeMethod · 0.70
test_appendMethod · 0.70
test_insertMethod · 0.70

Calls

no outgoing calls

Tested by 6

test_from_indexMethod · 0.56
do_testsMethod · 0.56
test_extendMethod · 0.56
test_removeMethod · 0.56
test_appendMethod · 0.56
test_insertMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…