diff -r 749c5d6c4ba5 Doc/using/cmdline.rst --- a/Doc/using/cmdline.rst Tue Nov 22 11:50:40 2016 -0800 +++ b/Doc/using/cmdline.rst Wed Nov 23 20:22:04 2016 +0900 @@ -184,12 +184,14 @@ When given twice, print more information about the build, like:: 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: Miscellaneous options ~~~~~~~~~~~~~~~~~~~~~ diff -r 749c5d6c4ba5 Doc/whatsnew/3.6.rst --- a/Doc/whatsnew/3.6.rst Tue Nov 22 11:50:40 2016 -0800 +++ b/Doc/whatsnew/3.6.rst Wed Nov 23 20:22:04 2016 +0900 @@ -1829,12 +1829,24 @@ (Contributed by Brett Cannon in :issue:`27186`.) * The :c:func:`PyUnicode_FSConverter` and :c:func:`PyUnicode_FSDecoder` 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 ========== New Keywords ------------