>>>>> Duncan Booth <duncan.bo...@invalid.invalid> (DB) wrote:
>DB> Phillip B Oldham <phillip.old...@gmail.com> wrote: >>> This make a lot more sense to us, and follows the convention from >>> other languages. It would also mean chaining methods to manipulate >>> lists would be easier: >>> >>>>>> x = [2,1,3] >>>>>> print x.sort()[0] >>> 3 >>>>>> print x >>> [2,1,3] >DB> You already have a way to do what you want: >>>>> x = [2,1,3] >>>>> print sorted(x)[0] >DB> 3 What kind of Python produces that? -- Piet van Oostrum <p...@cs.uu.nl> URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4] Private email: p...@vanoostrum.org -- http://mail.python.org/mailman/listinfo/python-list