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

Class Foo4

Lib/test/test_float.py:220–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218 return self
219
220 class Foo4(float):
221 def __float__(self):
222 return 42
223
224 # Issue 5759: __float__ not called on str subclasses (though it is on
225 # unicode subclasses).

Callers 1

test_floatconversionMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_floatconversionMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…