Circular Reference with python lists -
can explain this?
>>> x=x[0]=[0] >>> x [[...]] >>> x x[0] true >>> x[0][0][0][0][0][0][0] [[...]] >>> x in x true
what [...]?
that's python telling you have circular reference; it's smart enough not enter infinite loop trying print out.
Comments
Post a Comment