title: How to override the slice functionality of list in its derived class
body: <p>I make a class like below:</p>
  
  <pre><code>class MyList(list):
      def __init__(self, lst):
          self.list = lst
  </code></pre>
  
  <p>I want slice functionality to be overridden in MyList</p>