code: def _add_from_list(self, l):
          
  
          for item in l:
              if isinstance(item, (str, ustr)):
                  self._add_from_str(item)
              elif isinstance(item, (list, tuple)):
                  location = Location(item)
                  self._add_location(location)
docs: Add locations from a list of either strings or lists or tuples.
  
          Lists of lists and tuples are passed to the Location constructor