Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: I concur with Victor. This will defeat the purpose of timeit. And making the type of the result depending on arguments usually means a bad design.
For you particular need it is easy to write an explicit loop and gather the statistics that your need. ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32589> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com