From: Chris Jerdonek Date: Tue, 25 Sep 2012 02:28:59 +0000 (-0700) Subject: Issue #16015: Fix NameError doctest example in tutorial introduction. X-Git-Tag: v3.2.4rc1~499 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9bb56a66c548e84012de141e4665ea39701c1e5f;p=thirdparty%2FPython%2Fcpython.git Issue #16015: Fix NameError doctest example in tutorial introduction. --- diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index 43ea7aa3718c..b6d94accfdd1 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -94,8 +94,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 "", line 1, in NameError: name 'n' is not defined