diff options
author | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-09-25 02:28:59 (GMT) |
---|---|---|
committer | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-09-25 02:28:59 (GMT) |
commit | 9bb56a66c548e84012de141e4665ea39701c1e5f (patch) | |
tree | 216631585a395fcf09ba8e043d35eb70cf15bb47 /Doc | |
parent | 05ee5817a1d87c85d3377a436792889af21e8972 (diff) | |
download | cpython-9bb56a66c548e84012de141e4665ea39701c1e5f.zip cpython-9bb56a66c548e84012de141e4665ea39701c1e5f.tar.gz cpython-9bb56a66c548e84012de141e4665ea39701c1e5f.tar.bz2 |
Issue #16015: Fix NameError doctest example in tutorial introduction.
Diffstat (limited to 'Doc')
-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 43ea7aa..b6d94ac 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 "<stdin>", line 1, in <module> NameError: name 'n' is not defined |