Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit df12f2b

Browse files
committed
Issue #16015: Make welcome message more realistic in tutorial example.
1 parent 67b7b98 commit df12f2b

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Doc/tutorial/interpreter.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ Invoking the Interpreter
1212

1313
The Python interpreter is usually installed as :file:`/usr/local/bin/python3.2`
1414
on those machines where it is available; putting :file:`/usr/local/bin` in your
15-
Unix shell's search path makes it possible to start it by typing the command ::
15+
Unix shell's search path makes it possible to start it by typing the command:
16+
17+
.. code-block:: text
1618
1719
python3.2
1820
@@ -94,8 +96,8 @@ prints a welcome message stating its version number and a copyright notice
9496
before printing the first prompt::
9597

9698
$ python3.2
97-
Python 3.2 (py3k, Sep 12 2007, 12:21:02)
98-
[GCC 3.4.6 20060404 (Red Hat 3.4.6-8)] on linux2
99+
Python 3.2.3 (default, May 3 2012, 15:54:42)
100+
[GCC 4.6.3] on linux2
99101
Type "help", "copyright", "credits" or "license" for more information.
100102
>>>
101103

0 commit comments

Comments
 (0)