diff options
author | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-09-25 02:33:32 (GMT) |
---|---|---|
committer | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-09-25 02:33:32 (GMT) |
commit | 3dec449a7c18be320427d813bcbd1368dee6a8aa (patch) | |
tree | eb51877b454d3a6ac254e1b92a02368ed63103ae /Doc/tutorial | |
parent | 5a53a41bbc3e2170f31cf265dcf3e2dc6686a2d9 (diff) | |
download | cpython-3dec449a7c18be320427d813bcbd1368dee6a8aa.zip cpython-3dec449a7c18be320427d813bcbd1368dee6a8aa.tar.gz cpython-3dec449a7c18be320427d813bcbd1368dee6a8aa.tar.bz2 |
Issue #16015: Fix NameError doctest example in tutorial introduction.
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/introduction.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index c99915f..1871dd1 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -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 |