summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2012-09-25 11:20:29 (GMT)
committerChris Jerdonek <chris.jerdonek@gmail.com>2012-09-25 11:20:29 (GMT)
commitdf12f2bbb6d7d2a26fc10072ead199b3a19c6623 (patch)
tree1be307f0e2fcd82d8d613f7bfb5d14e18168f312
parent67b7b98a479a5703a5707b6ea0cf81d3e0b441ea (diff)
downloadcpython-df12f2bbb6d7d2a26fc10072ead199b3a19c6623.zip
cpython-df12f2bbb6d7d2a26fc10072ead199b3a19c6623.tar.gz
cpython-df12f2bbb6d7d2a26fc10072ead199b3a19c6623.tar.bz2
Issue #16015: Make welcome message more realistic in tutorial example.
-rw-r--r--Doc/tutorial/interpreter.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/tutorial/interpreter.rst b/Doc/tutorial/interpreter.rst
index 2338465..d61dafc 100644
--- a/Doc/tutorial/interpreter.rst
+++ b/Doc/tutorial/interpreter.rst
@@ -12,7 +12,9 @@ Invoking the Interpreter
The Python interpreter is usually installed as :file:`/usr/local/bin/python3.2`
on those machines where it is available; putting :file:`/usr/local/bin` in your
-Unix shell's search path makes it possible to start it by typing the command ::
+Unix shell's search path makes it possible to start it by typing the command:
+
+.. code-block:: text
python3.2
@@ -94,8 +96,8 @@ prints a welcome message stating its version number and a copyright notice
before printing the first prompt::
$ python3.2
- Python 3.2 (py3k, Sep 12 2007, 12:21:02)
- [GCC 3.4.6 20060404 (Red Hat 3.4.6-8)] on linux2
+ Python 3.2.3 (default, May 3 2012, 15:54:42)
+ [GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>