[Python-Dev] Pasting interpreter prompts
Moshe Zadka
Moshe Zadka <mzadka@geocities.com>
Tue, 18 Apr 2000 11:29:04 +0200 (IST)
On Tue, 18 Apr 2000, Ka-Ping Yee wrote:
> On Tue, 18 Apr 2000, Moshe Zadka wrote:
> >
> > >>> a=[]
> > >>> a[
> > ... ...
> > ... ]
> > Traceback (innermost last):
> > File "<stdin>", line 1, in ?
> > TypeError: sequence index must be integer
> > >>>
> >
> > Sorry.
>
> What was your point?
That "... " in the beginning of the line is not a syntax error.
--
Moshe Zadka <mzadka@geocities.com>.
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com