summaryrefslogtreecommitdiff
path: root/Doc/library/timeit.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-01-27 01:20:32 +0000
committerRaymond Hettinger <python@rcn.com>2011-01-27 01:20:32 +0000
commita199368b230026fa37987852fe8802992a126ab7 (patch)
tree270276511cbcdb1a582bdccda0a47ec27edad5ee /Doc/library/timeit.rst
parent8b5eb2f813b8e22e97308c18a61f1824f962604c (diff)
downloadcpython-git-a199368b230026fa37987852fe8802992a126ab7.tar.gz
More source links.
Diffstat (limited to 'Doc/library/timeit.rst')
-rw-r--r--Doc/library/timeit.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/timeit.rst b/Doc/library/timeit.rst
index 4a0b9c257b..a03e40e1b3 100644
--- a/Doc/library/timeit.rst
+++ b/Doc/library/timeit.rst
@@ -9,6 +9,10 @@
single: Benchmarking
single: Performance
+**Source code:** :source:`Lib/timeit.py`
+
+--------------
+
This module provides a simple way to time small bits of Python code. It has both
command line as well as callable interfaces. It avoids a number of common traps
for measuring execution times. See also Tim Peters' introduction to the