On 2005-02-01, Tim Peters <[EMAIL PROTECTED]> wrote: > [Grant Edwards] >> I'm trying to figure out how to sort a list, and I've run into >> a problem that that I have tripped over constantly for years: >> where are the methods of basic types documented? > > The methods on mutable sequence types are documented in the > Library manual's section on mutable sequence types: > > http://docs.python.org/lib/typesseq-mutable.html
> You could have found the above by, e.g., looking up "sort" in the > Library manual's index. I did. I looked up sort in the library index, and it took me to 3.3.5 Emulating container types, which said: Mutable sequences should provide methods append(), count(), index(), extend(), insert(), pop(), remove(), reverse() and sort(), like Python standard list objects. I also looked at quite a few "list" links in the index. I don't think it's at all obvious that the documentation for list.sort would be under "mutable sequence object". -- Grant Edwards grante Yow! YOW!! Everybody out at of the GENETIC POOL! visi.com -- http://mail.python.org/mailman/listinfo/python-list