projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05ee581
)
Issue #16015: Fix NameError doctest example in tutorial introduction.
author
Chris Jerdonek
<chris.jerdonek@gmail.com>
Tue, 25 Sep 2012 02:28:59 +0000
(19:28 -0700)
committer
Chris Jerdonek
<chris.jerdonek@gmail.com>
Tue, 25 Sep 2012 02:28:59 +0000
(19:28 -0700)
Doc/tutorial/introduction.rst
patch
|
blob
|
history
diff --git
a/Doc/tutorial/introduction.rst
b/Doc/tutorial/introduction.rst
index 43ea7aa3718ced9d4984cc05bffd5dba7b628a41..b6d94accfdd13692de1c770e67eefcdfe460eb6d 100644
(file)
--- 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