Changes between Initial Version and Version 1 of Ticket #12587, comment 8


Ignore:
Timestamp:
08/18/12 06:19:45 (9 years ago)
Author:
nbruin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12587, comment 8

    initial v1  
    1010ValueError: matrix is immutable; please change a copy instead (i.e., use copy(M) to change a copy of M).
    1111}}}
     12On the other hand:
     13{{{
     14sage: t=(1,2,3)
     15sage: t[0]=4
     16TypeError: 'tuple' object does not support item assignment
     17}}}
     18but then again a `ValueError` indicates something that something is wrong with the value, not with the type (`tuple` is never mutable, but `matrix` can be).