MCPcopy Index your code
hub / github.com/pyscript/pyscript / _index

Function _index

core/src/stdlib/pyscript/flatted.py:77–82  ·  view source on GitHub ↗
(known, input, value)

Source from the content-addressed store, hash-verified

75
76
77def _index(known, input, value):
78 input.append(value)
79 index = str(len(input) - 1)
80 known.key.append(value)
81 known.value.append(index)
82 return index
83
84
85def _loop(keys, input, known, output):

Callers 2

_relateFunction · 0.85
stringifyFunction · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected