From: Steven D'Aprano Date: Sun, 14 Aug 2016 16:47:49 +0000 (+1000) Subject: Add versionadded tag to docs for timeit.autorange X-Git-Tag: v3.6.0a4~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a0d3eeff864a5b03ee2d05232b3ec14bd86a0970;p=thirdparty%2FPython%2Fcpython.git Add versionadded tag to docs for timeit.autorange --- diff --git a/Doc/library/timeit.rst b/Doc/library/timeit.rst index f046591a808c..5bae33bc8f4b 100644 --- a/Doc/library/timeit.rst +++ b/Doc/library/timeit.rst @@ -148,6 +148,8 @@ The module defines three convenience functions and a public class: If *callback* is given and is not *None*, it will be called after each trial with two arguments: ``callback(number, time_taken)``. + .. versionadded:: 3.6 + .. method:: Timer.repeat(repeat=3, number=1000000)