]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-110383 TimeIt Docs Spelling Fix (GH-110407) (#110410)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 5 Oct 2023 17:10:39 +0000 (10:10 -0700)
committerGitHub <noreply@github.com>
Thu, 5 Oct 2023 17:10:39 +0000 (17:10 +0000)
gh-110383 TimeIt Docs Spelling Fix (GH-110407)

Make 0.2 second plural
(cherry picked from commit a973bf0f97e55ace9eab100f9eb95d7eedcb28ac)

Co-authored-by: Towster15 <105541074+Towster15@users.noreply.github.com>
Doc/library/timeit.rst

index b59a6bc3742ae41f4630bca8095568678c4faec1..d0abea38817234f3a61ef2665bf15d7b410291cf 100644 (file)
@@ -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)``.