]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #16015: Fix NameError doctest example in tutorial introduction.
authorChris Jerdonek <chris.jerdonek@gmail.com>
Tue, 25 Sep 2012 02:33:32 +0000 (19:33 -0700)
committerChris Jerdonek <chris.jerdonek@gmail.com>
Tue, 25 Sep 2012 02:33:32 +0000 (19:33 -0700)
Doc/tutorial/introduction.rst

index c99915fce352345b6565d6a4c00ae6c97ad938bf..1871dd16b9ff67de44ae8211d8a244a288009a1e 100644 (file)
@@ -82,8 +82,7 @@ A value can be assigned to several variables simultaneously::
 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