Remove the mentions timeline because it doesn't exist

This commit is contained in:
Christopher Su 2017-04-15 00:53:58 -07:00
pare cd2165131a
commit 8f0d872119
S'han modificat 2 arxius amb 2 adicions i 11 eliminacions

Veure arxiu

@ -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

Veure arxiu

@ -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.