MCPcopy Index your code
hub / github.com/RustPython/RustPython / index

Function index

Lib/operator.py:95–97  ·  view source on GitHub ↗

Same as a.__index__().

(a)

Source from the content-addressed store, hash-verified

93 return a // b
94
95def index(a):
96 "Same as a.__index__()."
97 return a.__index__()
98
99def inv(a):
100 "Same as ~a."

Callers

nothing calls this directly

Calls 1

__index__Method · 0.45

Tested by

no test coverage detected