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

Function tern_randfloat

Modules/_decimal/tests/randfloat.py:245–250  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

243 yield random.choice(l1), random.choice(l2)
244
245def tern_randfloat():
246 for i in range(1000):
247 l1 = random.choice(TESTCASES)
248 l2 = random.choice(TESTCASES)
249 l3 = random.choice(TESTCASES)
250 yield random.choice(l1), random.choice(l2), random.choice(l3)

Callers 1

all_ternaryFunction · 0.90

Calls 1

choiceMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…