On Apr 8, 8:15 am, "Steven Clark" <[EMAIL PROTECTED]> wrote:
> If I have a list of items of mixed type, can I put something into it
> such that after a list.sort(), is guaranteed to be at the end of the
> list?

Since the other guys gave you the real answer, how about this:

sentinel = object()
mylist.sort()
mylist.append(sentinel)

_ ~
@ @
\_/

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to