So I was writing up a simple binary tree in Python and came across [...]
I don\'t believe this to be related to the Ellipsis object, more it seems to have something
If you would have used a PrettyPrinter, the output would had been self explanatory
>>> l = [1,2,3,4] >>> l[0]=l >>> l [[...], 2, 3, 4] >>> pp = pprint.PrettyPrinter(indent = 4) >>> pp.pprint(l) [, 2, 3, 4] >>> id(l) 70327632
In other words its something like