[Python-checkins] Fix grammar error in timeit module docs (GH-12066)

Miss Islington (bot) webhook-mailer at python.org
Wed Feb 27 18:27:39 EST 2019

commit: 79e72591b17bfff8bee17ae837bfa4685e1599dc
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-02-27T15:27:36-08:00

Fix grammar error in timeit module docs (GH-12066)

skip issue
skip news
(cherry picked from commit 4064089fce57c6fb2d1df9f3fb51d3fd5557696b)

Co-authored-by: Shiv Dhar <shivdhar at gmail.com>

M Doc/library/timeit.rst

diff --git a/Doc/library/timeit.rst b/Doc/library/timeit.rst
index 197b8a76fc38..8ca37034f79b 100644
--- a/Doc/library/timeit.rst
+++ b/Doc/library/timeit.rst
@@ -129,7 +129,7 @@ The module defines three convenience functions and a public class:
          By default, :meth:`.timeit` temporarily turns off :term:`garbage
          collection` during the timing.  The advantage of this approach is that
-         it makes independent timings more comparable.  This disadvantage is
+         it makes independent timings more comparable.  The disadvantage is
          that GC may be an important component of the performance of the
          function being measured.  If so, GC can be re-enabled as the first
          statement in the *setup* string.  For example::

More information about the Python-checkins mailing list