https://docs.python.org/3/library/timeit.html
Hello In this section This is a convenience function that calls timeit()<https://docs.python.org/3/library/timeit.html#timeit.Timer.timeit> repeatedly so that the total time >= 0.2 second, returning the eventual (number of loops, time taken for that number of loops). It calls timeit()<https://docs.python.org/3/library/timeit.html#timeit.Timer.timeit> with increasing numbers from the sequence 1, 2, 5, 10, 20, 50, … until the time taken is at least 0.2 second. s/second/seconds/ two times. “seconds” is properly plural elsewhere on the page. Thanks A -- Arthur Goldberg, PhD Mount Sinai Data Warehouse<https://labs.icahn.mssm.edu/msdw/> Scientific Computing and Data<https://labs.icahn.mssm.edu/minervalab/scientific-computing-and-data> Associate Professor of Genetics and Genomic Sciences Institute for Data Science and Genomic Technology Mount Sinai School of Medicine Arthur.Goldberg@mssm.edu<mailto:Arthur.Goldberg@mssm.edu> 646 526 5020 Zoom<https://mssm.zoom.us/my/arthur.goldberg?pwd=LzByMGJOZC9wM3A2aHV6OU94eUtSQT09>
Thank you for the report! This was fixed in https://github.com/python/cpython/pull/110407 On 28. 03. 23 18:28, Goldberg, Arthur P via docs wrote:
Hello
In this section
This is a convenience function that calls timeit() <https://docs.python.org/3/library/timeit.html#timeit.Timer.timeit> repeatedly so that the total time >= 0.2 second, returning the eventual (number of loops, time taken for that number of loops). It calls timeit() <https://docs.python.org/3/library/timeit.html#timeit.Timer.timeit> with increasing numbers from the sequence 1, 2, 5, 10, 20, 50, … until the time taken is at least 0.2 second.
s/second/seconds/ two times.
“seconds” is properly plural elsewhere on the page.
Thanks
A
--
Arthur Goldberg, PhD
Mount Sinai Data Warehouse <https://labs.icahn.mssm.edu/msdw/>
Scientific Computing and Data <https://labs.icahn.mssm.edu/minervalab/scientific-computing-and-data>
Associate Professor of Genetics and Genomic Sciences Institute for Data Science and Genomic Technology Mount Sinai School of Medicine
Arthur.Goldberg@mssm.edu <mailto:Arthur.Goldberg@mssm.edu>
646 526 5020 Zoom <https://mssm.zoom.us/my/arthur.goldberg?pwd=LzByMGJOZC9wM3A2aHV6OU94eUtSQT09>
_______________________________________________ docs mailing list -- docs@python.org To unsubscribe send an email to docs-leave@python.org https://mail.python.org/mailman3/lists/docs.python.org/ Member address: encukou@gmail.com
participants (2)
-
Goldberg, Arthur P
-
Petr Viktorin