summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2016-11-24 17:20:40 +0900
committerINADA Naoki <songofacandy@gmail.com>2016-11-24 17:20:40 +0900
commitf576343179ca2b541189804c52e912b258d57d75 (patch)
tree343aeae5534f4e20007ec63f8cb6ec9516e68fff /Doc
parent2a94301911e665bfa85e0976f72bd48dca52af15 (diff)
downloadcpython-git-f576343179ca2b541189804c52e912b258d57d75.tar.gz
Issue #28532: Add what's new entry for python -VV option
Diffstat (limited to 'Doc')
-rw-r--r--Doc/using/cmdline.rst2
-rw-r--r--Doc/whatsnew/3.6.rst12
2 files changed, 14 insertions, 0 deletions
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 <path-like object>`.
+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
==========