From 8f0d872119cfe25664fbad868808715012c464b5 Mon Sep 17 00:00:00 2001 From: Christopher Su Date: Sat, 15 Apr 2017 00:53:58 -0700 Subject: Remove the mentions timeline because it doesn't exist --- docs/index.rst | 1 - mastodon/Mastodon.py | 12 ++---------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index 6279d48..df85c17 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -208,7 +208,6 @@ user could see, as well as hashtag timelines and the public timeline. .. automethod:: Mastodon.timeline .. automethod:: Mastodon.timeline_home -.. automethod:: Mastodon.timeline_mentions .. automethod:: Mastodon.timeline_local .. automethod:: Mastodon.timeline_public .. automethod:: Mastodon.timeline_hashtag diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index ef6cb1f..310dc68 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -244,8 +244,8 @@ class Mastodon: ## def timeline(self, timeline = "home", max_id = None, since_id = None, limit = None): """ - Fetch statuses, most recent ones first. Timeline can be home, mentions, local, - public, or tag/hashtag. See the following functions documentation for what those do. + Fetch statuses, most recent ones first. Timeline can be home, local, public, + or tag/hashtag. See the following functions documentation for what those do. The default timeline is the "home" timeline. @@ -268,14 +268,6 @@ class Mastodon: """ return self.timeline('home', max_id = max_id, since_id = since_id, limit = limit) - def timeline_mentions(self, max_id = None, since_id = None, limit = None): - """ - Fetches the authenticated users mentions. - - Returns a list of toot dicts. - """ - return self.timeline('mentions', max_id = max_id, since_id = since_id, limit = limit) - def timeline_local(self, max_id = None, since_id = None, limit = None): """ Fetches the local / instance-wide timeline. -- cgit v1.2.3