New submission from davidak :
It is described here: https://www.pythoncentral.io/time-a-python-function/
I have just tested it. Works as expected.
Best would be if timeit supports this natively.
--
assignee: docs@python
components: Documentation
messages: 329079
nosy: davidak, docs@python
priority: normal
severity: normal
status: open
title: timeit documentation should have example with function arguments
versions: Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue35138>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com