From 604cd71e501b3bb1ede2b8abc797643fc2e9129c Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Fri, 21 May 2021 18:17:10 -0400 Subject: 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. --- Doc/library/timeit.rst | 4 ++-- 1 file 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 ` 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 -- cgit v0.12