[Python-checkins] [3.11] gh-90300: [docs] Add whatsnew entry for new --help output (GH-95856)

ambv webhook-mailer at python.org
Fri Aug 12 12:07:17 EDT 2022


https://github.com/python/cpython/commit/e3adb19df82c0f19086e6cfced531ef8d8fb6d5b
commit: e3adb19df82c0f19086e6cfced531ef8d8fb6d5b
branch: 3.11
author: Éric <merwok at netwok.org>
committer: ambv <lukasz at langa.pl>
date: 2022-08-12T18:07:05+02:00
summary:

[3.11] gh-90300: [docs] Add whatsnew entry for new --help output (GH-95856)

files:
M Doc/whatsnew/3.11.rst

diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst
index f25bc549bf53..76aa6880ec06 100644
--- a/Doc/whatsnew/3.11.rst
+++ b/Doc/whatsnew/3.11.rst
@@ -417,6 +417,12 @@ Other CPython Implementation Changes
   :data:`sys.path`. Otherwise, initialization will recalculate the path and replace
   any values added to ``module_search_paths``.
 
+* The output of the :option:`--help` option is changed to fit inside 50 lines and 80
+  columns.  Information about :ref:`Python environment variables <using-on-envvars>`
+  and :option:`-X options <-X>` is available with the new :option:`--help-env` or
+  :option:`--help-xoptions` flags, and with :option:`--help-all`.
+  (Contributed by Éric Araujo in :issue:`46142`.)
+
 
 New Modules
 ===========



More information about the Python-checkins mailing list