parameters: (self, key, value, dict_setitem=dict.__setitem__)
docstring: od.__setitem__(i, y) <==> od[i]=y
docstring_summary: od.__setitem__(i, y) <==> od[i]=y
docstring_tokens: od . __setitem__ ( i y ) < == > od [ i ] = y
function: def __setitem__(self, key, value, dict_setitem=dict.__setitem__):
          'od.__setitem__(i, y) <==> od[i]=y'
          # Setting a new item creates a new link which goes at the end of the linked
          # list, and the inherited dictionary is updated with the new key/value pair.
          if key not in self:
              root = self.__root
              last = root[0]
              last[1] = root[0] = self.__map[key] = [last, root, key]
          dict_setitem(self, key, value)
function_tokens: def __setitem__ ( self , key , value , dict_setitem = dict . __setitem__ ) : # Setting a new item creates a new link which goes at the end of the linked # list, and the inherited dictionary is updated with the new key/value pair. if key not in self : root = self . __root last = root [ 0 ] last [ 1 ] = root [ 0 ] = self . __map [ key ] = [ last , root , key ] dict_setitem ( self , key , value )