From 18c6b3b90ff8bd607df18af86d092ac1205ffbf7 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Tue, 5 Jun 2018 22:10:31 +0200 Subject: New casettes, small fixes --- docs/index.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/index.rst b/docs/index.rst index cdd03ee..120828e 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -104,10 +104,8 @@ The responses returned by paginated endpoints contain a "link" header that speci which parameters to use to get the next and previous pages. Mastodon.py parses these and stores them (if present) in the first (for the previous page) and last (for the next page) item of the returned list as _pagination_prev and _pagination_next. They -are accessible only via attribute-style access, and are not considered in determining -dict equality (meaning their presence will not affect any tests of wheter two dicts -are the same, or whether a specific dict is in a list). Note that this also means that -if you want to persist pagination info with your data, you'll have to take care of that +are accessible only via attribute-style access. Note that this means that if you +want to persist pagination info with your data, you'll have to take care of that manually (or persist objects, not just dicts). There are convenience functions available for fetching the previous and next page of -- cgit v1.2.3