summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2021-05-21 22:17:10 (GMT)
committerGitHub <noreply@github.com>2021-05-21 22:17:10 (GMT)
commit604cd71e501b3bb1ede2b8abc797643fc2e9129c (patch)
tree9c040e66505d826ad3f88cb656bee094320b5de7
parent6cc8ac949907b9a1c0f73709c6978b7a43e634e3 (diff)
downloadcpython-604cd71e501b3bb1ede2b8abc797643fc2e9129c.zip
cpython-604cd71e501b3bb1ede2b8abc797643fc2e9129c.tar.gz
cpython-604cd71e501b3bb1ede2b8abc797643fc2e9129c.tar.bz2
Specify Python Cookbook edition for reference (GH-26301)
The timeit doc references Tim Peters introduction to the Chapter 18, Algorithms, of the second edition. The first editiion was before timeit. The third edition instead has Chapter 1, Data Structures and Algorithms, without Tim's introduction.
-rw-r--r--Doc/library/timeit.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/timeit.rst b/Doc/library/timeit.rst
index 668fcb8..d4e8b749 100644
--- a/Doc/library/timeit.rst
+++ b/Doc/library/timeit.rst
@@ -15,8 +15,8 @@
This module provides a simple way to time small bits of Python code. It has both
a :ref:`timeit-command-line-interface` as well as a :ref:`callable <python-interface>`
one. It avoids a number of common traps for measuring execution times.
-See also Tim Peters' introduction to the "Algorithms" chapter in the *Python
-Cookbook*, published by O'Reilly.
+See also Tim Peters' introduction to the "Algorithms" chapter in the second
+edition of *Python Cookbook*, published by O'Reilly.
Basic Examples