Rolandb wrote:
> Hi,
> print [1,2,3,4].remove(4)
> None
> I would expect [1,2,3]


Why?  This is a python thing.  Generally, if you change an object, it 
just changes the object and nothing is returned.  .sort(), .append(), 
etc. are all consistent this way.

Jason





--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to