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

Function unary_optarg

Modules/_decimal/tests/randdec.py:528–531  ·  view source on GitHub ↗
(prec, exp_range, itr)

Source from the content-addressed store, hash-verified

526 yield (randtuple(prec, exp_range),)
527
528def unary_optarg(prec, exp_range, itr):
529 for _ in range(100):
530 yield randdec(prec, exp_range), None
531 yield randdec(prec, exp_range), None, None
532
533def all_binary(prec, exp_range, itr):
534 for a, b in bin_close_to_pow10(prec, exp_range, itr):

Callers 1

test_unaryFunction · 0.90

Calls 1

randdecFunction · 0.85

Tested by 1

test_unaryFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…