summaryrefslogtreecommitdiffstats
path: root/Doc/using
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2016-11-21 11:57:14 (GMT)
committerINADA Naoki <songofacandy@gmail.com>2016-11-21 11:57:14 (GMT)
commit0e175a6e762676fca6bfd656912bb862e29fbdd5 (patch)
tree89eb22cd68f4347817fc43ba8d5243949fa906e3 /Doc/using
parent6befb64172be3893d300f7b597148bdd5db254a1 (diff)
downloadcpython-0e175a6e762676fca6bfd656912bb862e29fbdd5.zip
cpython-0e175a6e762676fca6bfd656912bb862e29fbdd5.tar.gz
cpython-0e175a6e762676fca6bfd656912bb862e29fbdd5.tar.bz2
Issue #28532: Show sys.version when -V option is supplied twice
Diffstat (limited to 'Doc/using')
-rw-r--r--Doc/using/cmdline.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index 81b0823..7ebdb95 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -180,7 +180,12 @@ Generic options
Print the Python version number and exit. Example output could be::
- Python 3.0
+ Python 3.6.0b2+
+
+ 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]
.. _using-on-misc-options: