Update timeit.rst

Clarifying that Tim's introduction to "Algorithms" is only in the *second* edition of "Python Cookbook" (since, alas, it's not in the current, third edition).
This commit is contained in:
Alex Martelli 2020-08-05 09:15:59 -07:00 committed by GitHub
parent f0e030cacb
commit 99d9526173
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View 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 the *Python Cookbook*, published by O'Reilly.
Basic Examples