[Python-checkins] cpython: Add versionadded tag to docs for timeit.autorange

steven.daprano python-checkins at python.org
Sun Aug 14 14:17:46 EDT 2016


https://hg.python.org/cpython/rev/40b13da7f0f8
changeset:   102652:40b13da7f0f8
user:        Steven D'Aprano <steve at pearwood.info>
date:        Mon Aug 15 02:47:49 2016 +1000
summary:
  Add versionadded tag to docs for timeit.autorange

files:
  Doc/library/timeit.rst |  2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)


diff --git a/Doc/library/timeit.rst b/Doc/library/timeit.rst
--- a/Doc/library/timeit.rst
+++ b/Doc/library/timeit.rst
@@ -148,6 +148,8 @@
         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)
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list