From: Lanqing Huang Date: Tue, 25 Oct 2022 02:29:39 +0000 (+0800) Subject: Adjust docstring for sync/async Paginator X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4dc829c7be619d66071477f33497e1a7b76a3f48;p=tweepy.git Adjust docstring for sync/async Paginator --- diff --git a/tweepy/asynchronous/pagination.py b/tweepy/asynchronous/pagination.py index 59d5596..94aff26 100644 --- a/tweepy/asynchronous/pagination.py +++ b/tweepy/asynchronous/pagination.py @@ -13,8 +13,6 @@ class AsyncPaginator: """:class:`AsyncPaginator` can be used to paginate for any :class:`AsyncClient` methods that support pagination - .. versionadded:: 4.11 - .. note:: When the returned response from the method being passed is of type @@ -22,6 +20,8 @@ class AsyncPaginator: the pagination tokens, likely negating any potential performance benefits from using a :class:`aiohttp.ClientResponse` return type. + .. versionadded:: 4.11 + Parameters ---------- method diff --git a/tweepy/pagination.py b/tweepy/pagination.py index fd4d95e..91abc8d 100644 --- a/tweepy/pagination.py +++ b/tweepy/pagination.py @@ -13,8 +13,6 @@ class Paginator: """:class:`Paginator` can be used to paginate for any :class:`Client` methods that support pagination - .. versionadded:: 4.0 - .. note:: When the returned response from the method being passed is of type @@ -22,6 +20,8 @@ class Paginator: the pagination tokens, likely negating any potential performance benefits from using a :class:`requests.Response` return type. + .. versionadded:: 4.0 + Parameters ---------- method