circuitpython/tests/bench/func_args-2-pos_default_2_of_3.py
2021-03-15 19:27:36 +05:30

14 lines
129 B
Python

import bench
def func(a, b=1, c=2):
pass
def test(num):
for i in iter(range(num)):
func(i)
bench.run(test)