code: def get_starred_segments(self, limit=None):
          
  
          params = {}
          if limit is not None:
              params["limit"] = limit
  
          result_fetcher = functools.partial(self.protocol.get,
                                             '/segments/starred')
  
          return BatchedResultsIterator(entity=model.Segment,
                                        bind_client=self,
                                        result_fetcher=result_fetcher,
                                        limit=limit)
docs: Returns a summary representation of the segments starred by the
           authenticated user. Pagination is supported.
  
          http://strava.github.io/api/v3/segments/#starred
  
          :param limit: (optional), limit number of starred segments returned.
          :type limit: int
  
          :return: An iterator of :class:`stravalib.model.Segment` starred by authenticated user.
          :rtype: :class:`BatchedResultsIterator`