]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix typo: add space (GH-18853)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 8 Mar 2020 17:57:11 +0000 (10:57 -0700)
committerNed Deily <nad@python.org>
Tue, 10 Mar 2020 05:49:00 +0000 (01:49 -0400)
Fix typo in cmdline.rst
Add space between the `-m` option and the module name (`timeit`).
(cherry picked from commit c580981ba01c4d9f721dbdd88208ba37704e0217)

Co-authored-by: Julin S <48789920+ju-sh@users.noreply.github.com>
Doc/using/cmdline.rst

index 6a1d7aa00d082c0846bd05b0e4b02fc8cdeea785..be92642e2fa31d15c56e59411d33e1ae846aaf1b 100644 (file)
@@ -108,8 +108,8 @@ source.
    Many standard library modules contain code that is invoked on their execution
    as a script.  An example is the :mod:`timeit` module::
 
-       python -mtimeit -s 'setup here' 'benchmarked code here'
-       python -mtimeit -h # for details
+       python -m timeit -s 'setup here' 'benchmarked code here'
+       python -m timeit -h # for details
 
    .. seealso::
       :func:`runpy.run_module`