[issue18518] return-ing within code timed with timeit.timeit causes wrong return value of timeit.timeit

jonathan ferretti report at bugs.python.org
Mon Apr 14 18:49:34 CEST 2014


jonathan ferretti added the comment:

Added note to timeit function briefly explaining how to avoid it the issue and the cause

----------
keywords: +patch
nosy: +jonathan.ferretti
type: enhancement -> behavior
Added file: http://bugs.python.org/file34823/timeit.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18518>
_______________________________________


More information about the Python-bugs-list mailing list