[New-bugs-announce] [issue16018] Impossible ... line in tutorial
Ramchandra Apte
report at bugs.python.org
Mon Sep 24 16:19:30 CEST 2012
New submission from Ramchandra Apte:
In http://docs.python.org/dev/tutorial/introduction.html, there is an ... line which is impossible in that case:
Variables must be “defined” (assigned a value) before they can be used, or an error will occur:
>>>
>>> # try to access an undefined variable
... n
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'n' is not defined
It should be:
>>> n # try to access an undefined variable
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'n' is not defined
----------
messages: 171138
nosy: ramchandra.apte
priority: normal
severity: normal
status: open
title: Impossible ... line in tutorial
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16018>
_______________________________________
More information about the New-bugs-announce
mailing list