changeset: 79153:5f4841977bee branch: 3.2 parent: 79149:485902ecf0ee user: Chris Jerdonek date: Mon Sep 24 19:28:59 2012 -0700 files: Doc/tutorial/introduction.rst description: Issue #16015: Fix NameError doctest example in tutorial introduction. diff -r 485902ecf0ee -r 5f4841977bee Doc/tutorial/introduction.rst --- 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 "", line 1, in NameError: name 'n' is not defined

AltStyle によって変換されたページ (->オリジナル) /