MCPcopy Index your code
hub / github.com/numpy/numpy / CrazyInt

Class CrazyInt

numpy/lib/tests/test_io.py:896–898  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

894
895 # Testing with some crazy custom integer type
896 class CrazyInt:
897 def __index__(self):
898 return 1
899
900 crazy_int = CrazyInt()
901 c.seek(0)

Callers 1

test_usecolsMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_usecolsMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…