summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven D'Aprano <steve@pearwood.info>2016-08-14 16:47:49 (GMT)
committerSteven D'Aprano <steve@pearwood.info>2016-08-14 16:47:49 (GMT)
commita0d3eeff864a5b03ee2d05232b3ec14bd86a0970 (patch)
tree7c2a889167924196b6c6f2b8ccceae0d2ce6b833
parent09f4f711b67a310873a4cb084f7c413ef3addcd3 (diff)
downloadcpython-a0d3eeff864a5b03ee2d05232b3ec14bd86a0970.zip
cpython-a0d3eeff864a5b03ee2d05232b3ec14bd86a0970.tar.gz
cpython-a0d3eeff864a5b03ee2d05232b3ec14bd86a0970.tar.bz2
Add versionadded tag to docs for timeit.autorange
-rw-r--r--Doc/library/timeit.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/timeit.rst b/Doc/library/timeit.rst
index f046591..5bae33b 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)