From 22cbcddee44d5dc31d1594a1b8f1cce72487ff16 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Fri, 21 May 2021 17:34:33 -0400 Subject: [PATCH] Specify Python Cookbook edition for reference The timit doc references Tim Peters introduction to the Chapter 18, Algorithms, of the second edition. The first editiion was before timit. 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 668fcb860cea87..d4e8b749db4808 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