summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAndrew Kuchling <amk@amk.ca>2015-04-21 23:44:54 (GMT)
committerAndrew Kuchling <amk@amk.ca>2015-04-21 23:44:54 (GMT)
commitc3a7f181008fef91b5a5977b370271ce3f7f75b0 (patch)
tree3f947ad707143366d1c0eab35da15e7a43e4eb9d /Doc
parentf5e8540e1bda85f041fc7ce592e3079c16f18a1b (diff)
parent333518e01df0ce011962ca8629e766a59316e1cb (diff)
downloadcpython-c3a7f181008fef91b5a5977b370271ce3f7f75b0.zip
cpython-c3a7f181008fef91b5a5977b370271ce3f7f75b0.tar.gz
cpython-c3a7f181008fef91b5a5977b370271ce3f7f75b0.tar.bz2
Merge from 3.4
Diffstat (limited to 'Doc')
-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 3ef9f3e..d1051f6 100644
--- a/Doc/library/timeit.rst
+++ b/Doc/library/timeit.rst
@@ -104,6 +104,8 @@ The module defines three convenience functions and a public class:
method. The :meth:`.repeat` method is a convenience to call :meth:`.timeit`
multiple times and return a list of results.
+ The execution time of *setup* is excluded from the overall timed execution run.
+
The *stmt* and *setup* parameters can also take objects that are callable
without arguments. This will embed calls to them in a timer function that
will then be executed by :meth:`.timeit`. Note that the timing overhead is a