From ecde92d05efb49368f39f9ed94a19a950c6eb92b Mon Sep 17 00:00:00 2001 From: Alexander Graf <17130992+aandergr@users.noreply.github.com> Date: Sun, 2 Aug 2020 10:23:09 +0200 Subject: [PATCH] Minor fix of Hashtag.get_all_posts() docstring --- instaloader/structures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instaloader/structures.py b/instaloader/structures.py index c7ecab9..6c53071 100644 --- a/instaloader/structures.py +++ b/instaloader/structures.py @@ -1334,7 +1334,7 @@ class Hashtag: yield from (Post(self._context, edge["node"]) for edge in conn["edges"]) def get_all_posts(self) -> Iterator[Post]: - """Yields all posts, i.e. all most recent posts and the top posts, in chronological order.""" + """Yields all posts, i.e. all most recent posts and the top posts, in almost-chronological order.""" sorted_top_posts = iter(sorted(self.get_top_posts(), key=lambda p: p.date_utc, reverse=True)) other_posts = self.get_posts() next_top = next(sorted_top_posts, None)