code: def add_locations(self, locations):
          
  
          if isinstance(locations, (str, ustr)):
              self._add_from_str(locations)
          elif isinstance(locations, (list, tuple)):
              self._add_from_list(locations)
docs: Add extra locations to AstralGeocoder.
  
          Extra locations can be
  
          * A single string containing one or more locations separated by a newline.
          * A list of strings
          * A list of lists/tuples that are passed to a :class:`Location` constructor