On Dec 12, 4:55 pm, sturlamolden <sturlamol...@yahoo.no> wrote: > def __setitem__(self, index, value): > if _buf[index] is not value: # given that _buf is the tuple's > internal buffer > raise TypeError, 'tuple' object does not support item > assignment
blæh, that should be self._buf[index] -- http://mail.python.org/mailman/listinfo/python-list