diff Doc/tutorial/introduction.rst @ 79153:5f4841977bee 3.2

Issue #16015: Fix NameError doctest example in tutorial introduction.
author Chris Jerdonek <chris.jerdonek@gmail.com>
date Mon, 24 Sep 2012 19:28:59 -0700
parents 3654c711019a
children 06deefec71e3
line wrap: on
line diff
--- a/Doc/tutorial/introduction.rst	Mon Sep 24 20:16:38 2012 +0100
+++ b/Doc/tutorial/introduction.rst	Mon Sep 24 19:28:59 2012 -0700
@@ -94,8 +94,7 @@
 Variables must be "defined" (assigned a value) before they can be used, or an
 error will occur::
 
-   >>> # try to access an undefined variable
-   ... n
+   >>> n  # try to access an undefined variable
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    NameError: name 'n' is not defined