Note however that :func:`.timeit` will automatically determine the number of repetitions only when the command-line interface is used. In the :ref:`timeit-examples ...
This can be achieved from the :ref:`python-interface` with: >>> import timeit >>> timeit.timeit('"-".join(str(n) for n in range(100))', number=10000) 0. ...