]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-106232: Make timeit doc command lines compatible with Windows. (GH-106296...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 1 Jul 2023 02:40:43 +0000 (19:40 -0700)
committerGitHub <noreply@github.com>
Sat, 1 Jul 2023 02:40:43 +0000 (22:40 -0400)
commit8738c5bceea309944dc4f18e49cf90e871ecbe65
treed3a1d4163c0f63b8987db429a8718e15c35f9334
parentc4298d5c648ba79d0a3dbf16e9aa8a6011802470
[3.12] gh-106232: Make timeit doc command lines compatible with Windows. (GH-106296) (#106298)

gh-106232: Make timeit doc command lines compatible with Windows. (GH-106296)

Command Prompt (CMD Shell) and older versions of PowerShell
require double quotes and single quotes inside the string.
This form also works on linux and macOS.
(cherry picked from commit 04dfc6fa9018e92a5b51c29fc0ff45419c596bc3)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Doc/library/timeit.rst
Doc/using/cmdline.rst
Misc/NEWS.d/next/Documentation/2023-06-30-19-28-59.gh-issue-106232.hQ4-tz.rst [new file with mode: 0644]