[[...]]
Magnus Lie Hetland
mlh at idi.ntnu.no
Fri Mar 17 09:31:06 EST 2000
Michal Bozon <bozon at natur.cuni.cz> wrote in message
news:Pine.OSF.4.10.10003171444370.30096-100000 at prfdec.natur.cuni.cz...
> # Hi.
> #
> # I tried following:
>
> >>> a = []
> >>> a.append(a)
> >>> a
> [[...]]
>
> # What does it mean?
It means that you added a as the last element of a and created a recursive
structure. The "..." stands for infinite recursion.
--
Magnus
Lie
Hetland magnus @ hetland . org
More information about the Python-list
mailing list