parameters: (self, key, value)
docstring: x.__setitem__(i, y) <==> x[i]=y
docstring_summary: x.__setitem__(i, y) <==> x[i]=y
docstring_tokens: x . __setitem__ ( i y ) < == > x [ i ] = y
function: def __setitem__(self, key, value):
          """ x.__setitem__(i, y) <==> x[i]=y """
          if isinstance(key, slice):
              raise ValueError('setslice is not supported')
          self.insert(key, value)
function_tokens: def __setitem__ ( self , key , value ) : if isinstance ( key , slice ) : raise ValueError ( 'setslice is not supported' ) self . insert ( key , value )