[Python-checkins] Specify Python Cookbook edition for reference (GH-26301)

miss-islington webhook-mailer at python.org
Fri May 21 18:17:19 EDT 2021


https://github.com/python/cpython/commit/604cd71e501b3bb1ede2b8abc797643fc2e9129c
commit: 604cd71e501b3bb1ede2b8abc797643fc2e9129c
branch: main
author: Terry Jan Reedy <tjreedy at udel.edu>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2021-05-21T15:17:10-07:00
summary:

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.

files:
M Doc/library/timeit.rst

diff --git a/Doc/library/timeit.rst b/Doc/library/timeit.rst
index 668fcb860cea8..d4e8b749db480 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



More information about the Python-checkins mailing list