[Python-checkins] Fix missing space with help for `-m compileall -o` (GH-27591) (GH-28430)

ambv webhook-mailer at python.org
Fri Sep 17 19:02:37 EDT 2021

commit: 8a5f14e5baea6eeb95a7af65370da8861e3c3227
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2021-09-18T01:02:32+02:00

Fix missing space with help for `-m compileall -o` (GH-27591) (GH-28430)

(cherry picked from commit 74cc2453ae690be940cddfae8caf8216d8628c4a)

Co-authored-by: Daniel Hahler <git at thequod.de>

M Lib/compileall.py

diff --git a/Lib/compileall.py b/Lib/compileall.py
index 3e00477616df8..3755e76ba813f 100644
--- a/Lib/compileall.py
+++ b/Lib/compileall.py
@@ -367,9 +367,9 @@ def main():
                               'environment variable is set, and '
                               '"timestamp" otherwise.'))
     parser.add_argument('-o', action='append', type=int, dest='opt_levels',
-                        help=('Optimization levels to run compilation with.'
-                              'Default is -1 which uses optimization level of'
-                              'Python interpreter itself (specified by -O).'))
+                        help=('Optimization levels to run compilation with. '
+                              'Default is -1 which uses the optimization level '
+                              'of the Python interpreter itself (see -O).'))
     parser.add_argument('-e', metavar='DIR', dest='limit_sl_dest',
                         help='Ignore symlinks pointing outsite of the DIR')
     parser.add_argument('--hardlink-dupes', action='store_true',

More information about the Python-checkins mailing list