Skip to content

Commit

Permalink
pythongh-110383 TimeIt Docs Spelling Fix (pythonGH-110407)
Browse files Browse the repository at this point in the history
Make 0.2 second plural
(cherry picked from commit a973bf0)

Co-authored-by: Towster15 <105541074+Towster15@users.noreply.github.com>
  • Loading branch information
Towster15 authored and miss-islington committed Oct 5, 2023
1 parent 09ec815 commit ea69641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/timeit.rst
Expand Up @@ -151,7 +151,7 @@ The module defines three convenience functions and a public class:
so that the total time >= 0.2 second, returning the eventual
(number of loops, time taken for that number of loops). It calls
:meth:`.timeit` with increasing numbers from the sequence 1, 2, 5,
10, 20, 50, ... until the time taken is at least 0.2 second.
10, 20, 50, ... until the time taken is at least 0.2 seconds.

If *callback* is given and is not ``None``, it will be called after
each trial with two arguments: ``callback(number, time_taken)``.
Expand Down

0 comments on commit ea69641

Please sign in to comment.