MCPcopy Create free account
hub / github.com/pybind/pybind11 / Index

Class Index

tests/test_builtin_casters.py:262–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260 return 41.99999
261
262 class Index:
263 def __index__(self):
264 return 42
265
266 class IntAndIndex:
267 def __int__(self):

Callers 3

test_int_convertFunction · 0.85
test_float_convertFunction · 0.85
test_complex_castFunction · 0.85

Calls

no outgoing calls

Tested by 3

test_int_convertFunction · 0.68
test_float_convertFunction · 0.68
test_complex_castFunction · 0.68