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

Class MyInt

Lib/test/test_float.py:45–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 return self.value
44
45class MyInt:
46 def __init__(self, value):
47 self.value = value
48
49 def __int__(self):
50 return self.value
51
52class FloatLike:
53 def __init__(self, value):

Callers 2

test_floatconversionMethod · 0.70
test_from_numberMethod · 0.70

Calls

no outgoing calls

Tested by 2

test_floatconversionMethod · 0.56
test_from_numberMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…