Commit 3dec449a authored by Chris Jerdonek's avatar Chris Jerdonek

Issue #16015: Fix NameError doctest example in tutorial introduction.

parent 5a53a41b
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment