diff -r fc6bb69cec05 Doc/using/cmdline.rst --- a/Doc/using/cmdline.rst Mon Nov 21 20:57:14 2016 +0900 +++ b/Doc/using/cmdline.rst Mon Nov 21 21:18:08 2016 +0900 @@ -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 -r fc6bb69cec05 Doc/whatsnew/3.6.rst --- a/Doc/whatsnew/3.6.rst Mon Nov 21 20:57:14 2016 +0900 +++ b/Doc/whatsnew/3.6.rst Mon Nov 21 21:18:08 2016 +0900 @@ -2046,6 +2046,15 @@ Changes in 'python' Command Behavior It now outputs to ``stderr`` instead of ``stdout``. (Contributed by Serhiy Storchaka in :issue:`23034`.) +* 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)] + Changes in the Python API -------------------------