On 04/07/10 14:18, Steven D'Aprano wrote: > I could have used None, or "root", or "this is a magic value that > probably won't clash with an entry in the tree", or -1 as a sentinel > instead, but they all risk accidental clashes with tree entries.
Especially when you want to consider the possibility of inserting the data structure inside the data structure itself. -- http://mail.python.org/mailman/listinfo/python-list