[Python-checkins] fix typo: add space (GH-18853)

Miss Islington (bot) webhook-mailer at python.org
Sun Mar 8 13:58:24 EDT 2020


https://github.com/python/cpython/commit/765117dc161d7bd8317e9df7fb3f3b5caca281c2
commit: 765117dc161d7bd8317e9df7fb3f3b5caca281c2
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020年03月08日T10:58:19-07:00
summary:
fix typo: add space (GH-18853)
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 at users.noreply.github.com>
files:
M Doc/using/cmdline.rst
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index 53206c7b54649..d3f04004efc75 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -109,8 +109,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
 
 .. audit-event:: cpython.run_module module-name cmdoption-m
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /