repeatfunc

emlib.iterlib.repeatfunc(func, times=None, *args)[source]

Repeat calls to func with specified arguments.

Example: repeatfunc(random.random)