stef mientki <[EMAIL PROTECTED]> writes:

> Here is the code
>    print 'xx1',type(ordered_list)
>    print 'xx2',ordered_list
>    print 'xx3',ordered_list.sort()
> 
> And this is the result
> xx1 <type 'list'>
> xx2 [14, 12, 10]
> xx3 None
> 
> What am I doing wrong ?

Apparently, ignoring the documentation of the functions you're using.
Have a look at how 'list.sort' is documented to work.

-- 
 \               "I was sleeping the other night, alone, thanks to the |
  `\                                    exterminator."  -- Emo Philips |
_o__)                                                                  |
Ben Finney
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to