The two possible ways are 

v = Sequence([1,2,3],immutable=True)

or 

v = Sequence([1,2,3])
v.set_immutable()

You should never mess with "underscore" attributes if you haven't actually 
written the code as these implementation details can change without warning.

The documentation is displayed by Sequence? and Sequence.is_immutable?


-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to