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

ambv webhook-mailer at python.org
Fri Sep 17 18:55:45 EDT 2021

commit: 791cfd19034c5aa14f9db69e64baa172b457a789
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2021-09-18T00:55:37+02:00

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

(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 39f4bb394d881..25ad83c229005 100644
--- a/Lib/compileall.py
+++ b/Lib/compileall.py
@@ -365,9 +365,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