diff options
Diffstat (limited to 'mastodon')
-rw-r--r-- | mastodon/Mastodon.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index b52f13c..641b742 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -1177,9 +1177,9 @@ class Mastodon: | |||
1177 | @api_version("1.1.0") | 1177 | @api_version("1.1.0") |
1178 | def stream_hashtag(self, tag, listener, async=False): | 1178 | def stream_hashtag(self, tag, listener, async=False): |
1179 | """ | 1179 | """ |
1180 | Returns all public statuses for the hashtag 'tag'. 'listener' should be | 1180 | Stream for all public statuses for the hashtag 'tag' seen by the connected |
1181 | a subclass of StreamListener which will receive callbacks for incoming | 1181 | instance. 'listener' should be a subclass of StreamListener which will receive |
1182 | events. | 1182 | callbacks for incoming events. |
1183 | """ | 1183 | """ |
1184 | if tag.startswith("#"): | 1184 | if tag.startswith("#"): |
1185 | raise MastodonIllegalArgumentError("Tag parameter should omit leading #") | 1185 | raise MastodonIllegalArgumentError("Tag parameter should omit leading #") |