<p>I have a class that contains a list of items<br>
I can set items using __setitem__ but if i want to set the while list, i changes the variable from a myclass to a list. How can i accomblish this<br>
Example<br>
>>>C = myclass()<br>
>>>C[0] = 57<br>
>>>type(C) <br>
myclass<br>
>>> C = [57,58,59,60]<br>
>>>type(C)<br>
list<br><br><br><br></p>