[issue16015] impossible ... line in tutorial

2012-09-24 Thread Ramchandra Apte

Ramchandra Apte added the comment:

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

--
title: Incorrect startup header in tutorial - impossible ... line in tutorial

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16015
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16015] impossible ... line in tutorial

2012-09-24 Thread Ramchandra Apte

Ramchandra Apte added the comment:

Oops! The last message should be in a new issue.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16015
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com