commit | d9bef35e3c0c4c1dfa5760fd76c720afa1956170 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Tue Mar 13 19:32:21 2007 +0000 |
committer | Georg Brandl <georg@python.org> | Tue Mar 13 19:32:21 2007 +0000 |
tree | 9310de1abf31a7ad9bc914379765af806a0978a4 | |
parent | 4168c0466f873b60dd82ea83782e39a41a3aa45f [diff] |
Patch #1533909: the timeit module now accepts callables in addition to strings for the code to time and the setup code. Also added two convenience functions for instantiating a Timer and calling its methods.