From 2336a1a65a0f0ab61bc00087c9cda87c0b6d8f6f Mon Sep 17 00:00:00 2001 From: Bryce Jasmer Date: Sun, 28 Dec 2014 16:37:04 -0800 Subject: [PATCH] Making docstring type hints match reality for get_segment_leaderboard() --- stravalib/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stravalib/client.py b/stravalib/client.py index b7ef2bf0..72c3b718 100644 --- a/stravalib/client.py +++ b/stravalib/client.py @@ -788,8 +788,8 @@ def get_segment_leaderboard(self, segment_id, gender=None, age_group=None, weigh :param page: (optional, strava default is 1) Page number of leaderboard to return, sorted by highest ranking leaders :type page: int - :return: An iterator of :class:`stravalib.model.SegmentLeaderboard` - :rtype: :class:`BatchedResultsIterator` + :return: The SegmentLeaderboard for the specified page (default: 1) + :rtype: :class:`stravalib.model.SegmentLeaderboard` """ params = {}