Skip to content

Commit 9514dd7

Browse files
authored
gh-133879: Copyedit "What's new in Python 3.15" (#149451)
1 parent 7cea70e commit 9514dd7

2 files changed

Lines changed: 95 additions & 42 deletions

File tree

Doc/library/timeit.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ See also Tim Peters' introduction to the "Algorithms" chapter in the second
1919
edition of *Python Cookbook*, published by O'Reilly.
2020

2121

22-
Basic Examples
22+
Basic examples
2323
--------------
2424

2525
The following example shows how the :ref:`timeit-command-line-interface`
@@ -56,7 +56,7 @@ repetitions only when the command-line interface is used. In the
5656

5757
.. _python-interface:
5858

59-
Python Interface
59+
Python interface
6060
----------------
6161

6262
The module defines three convenience functions and a public class:
@@ -206,7 +206,7 @@ The module defines three convenience functions and a public class:
206206

207207
.. _timeit-command-line-interface:
208208

209-
Command-Line Interface
209+
Command-line interface
210210
----------------------
211211

212212
When called as a program from the command line, the following form is used::
@@ -279,6 +279,9 @@ most cases. You can use :func:`time.process_time` to measure CPU time.
279279
baseline overhead can be measured by invoking the program without arguments,
280280
and it might differ between Python versions.
281281

282+
.. versionadded:: next
283+
Output is in color by default and can be
284+
:ref:`controlled using environment variables <using-on-controlling-color>`.
282285

283286
.. _timeit-examples:
284287

0 commit comments

Comments
 (0)