code: def pop(self, i):
          
          item = super().pop(i)
          j = self.all.index(item)
          return self.all.pop(j)
docs: Pop argument object at provided index.
  
          :param int i: Index to pop from the list
  
          >>> arguments = TexArgs([RArg('arg0'), '[arg2]', '{arg3}'])
          >>> arguments.pop(1)
          OArg('arg2')
          >>> len(arguments)
          2
          >>> arguments[0]
          RArg('arg0')