]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Specify Python Cookbook edition for reference (GH-26301)
authorTerry Jan Reedy <tjreedy@udel.edu>
Fri, 21 May 2021 22:17:10 +0000 (18:17 -0400)
committerGitHub <noreply@github.com>
Fri, 21 May 2021 22:17:10 +0000 (15:17 -0700)
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.

Doc/library/timeit.rst

index 668fcb860cea87bbb1acefceba44f858b097409f..d4e8b749db48087324851aff0cb476a391b3d98d 100644 (file)
@@ -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