parameters: (self, key, value, location)
docstring: Insert by key location.
docstring_summary: Insert by key location.
docstring_tokens: Insert by key location .
function: def add(self, key, value, location):
          """ Insert by key location. """
          i = self.index_for_location(location)
          if i is not None:
              self.insert(i, key, value)
          else:
              self.__setitem__(key, value)
function_tokens: def add ( self , key , value , location ) : i = self . index_for_location ( location ) if i is not None : self . insert ( i , key , value ) else : self . __setitem__ ( key , value )