From 4dc829c7be619d66071477f33497e1a7b76a3f48 Mon Sep 17 00:00:00 2001 From: Lanqing Huang Date: Tue, 25 Oct 2022 10:29:39 +0800 Subject: [PATCH] Adjust docstring for sync/async Paginator --- tweepy/asynchronous/pagination.py | 4 ++-- tweepy/pagination.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.25.1