From f576343179ca2b541189804c52e912b258d57d75 Mon Sep 17 00:00:00 2001 From: INADA Naoki Date: Thu, 24 Nov 2016 17:20:40 +0900 Subject: [PATCH] Issue #28532: Add what's new entry for python -VV option --- Doc/using/cmdline.rst | 2 ++ Doc/whatsnew/3.6.rst | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index 7ebdb95984..c0e64d66f2 100644 --- a/Doc/using/cmdline.rst +++ b/Doc/using/cmdline.rst @@ -187,6 +187,8 @@ Generic options Python 3.6.0b2+ (3.6:84a3c5003510+, Oct 26 2016, 02:33:55) [GCC 6.2.0 20161005] + .. versionadded:: 3.6 + The ``-VV`` option. .. _using-on-misc-options: diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst index ce59c82db6..44aab851c7 100644 --- a/Doc/whatsnew/3.6.rst +++ b/Doc/whatsnew/3.6.rst @@ -1832,6 +1832,18 @@ Build and C API Changes functions will now accept :term:`path-like objects `. +Other Improvements +================== + +* When :option:`--version` (short form: :option:`-V`) is supplied twice, + Python prints :data:`sys.version` for detailed information. + + .. code-block:: shell-session + + $ ./python -VV + Python 3.6.0b4+ (3.6:223967b49e49+, Nov 21 2016, 20:55:04) + [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] + Deprecated ========== -- 2.40.0