code: def get_activity_laps(self, activity_id):
          
          result_fetcher = functools.partial(self.protocol.get,
                                             '/activities/{id}/laps',
                                             id=activity_id)
  
          return BatchedResultsIterator(entity=model.ActivityLap,
                                        bind_client=self,
                                        result_fetcher=result_fetcher)
docs: Gets the laps from an activity.
  
          http://strava.github.io/api/v3/activities/#laps
  
          :param activity_id: The activity for which to fetch laps.
          :type activity_id: int
  
          :return: An iterator of :class:`stravalib.model.ActivityLaps` objects.
          :rtype: :class:`BatchedResultsIterator`