Skip to content

Commit 604cd71

Browse files
authored
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.
1 parent 6cc8ac9 commit 604cd71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/timeit.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
This module provides a simple way to time small bits of Python code. It has both
1616
a :ref:`timeit-command-line-interface` as well as a :ref:`callable <python-interface>`
1717
one. It avoids a number of common traps for measuring execution times.
18-
See also Tim Peters' introduction to the "Algorithms" chapter in the *Python
19-
Cookbook*, published by O'Reilly.
18+
See also Tim Peters' introduction to the "Algorithms" chapter in the second
19+
edition of *Python Cookbook*, published by O'Reilly.
2020

2121

2222
Basic Examples

0 commit comments

Comments
 (0)