aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-04-17 15:27:18 +0200
committerLorenz Diener <[email protected]>2018-04-17 15:27:41 +0200
commitd5efea72387b9374fa03cb4c282ed76e74a68447 (patch)
treebd0f919d54aa2a47e8a8950952c2fb85d8592a95 /mastodon
parentdd5f4ae08af21e5965b3670231ac92c5503f58cc (diff)
downloadmastodon.py-d5efea72387b9374fa03cb4c282ed76e74a68447.tar.gz
Make imports better (fixes #129)
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mastodon/__init__.py b/mastodon/__init__.py
index fdf776d..787d4e8 100644
--- a/mastodon/__init__.py
+++ b/mastodon/__init__.py
@@ -1,4 +1,4 @@
1from mastodon.Mastodon import Mastodon 1from mastodon.Mastodon import Mastodon, MastodonError, MastodonVersionError, MastodonIllegalArgumentError, MastodonIOError, MastodonFileNotFoundError, MastodonNetworkError, MastodonAPIError, MastodonNotFoundError, MastodonUnauthorizedError, MastodonRatelimitError, MastodonMalformedEventError
2from mastodon.streaming import StreamListener, CallbackStreamListener 2from mastodon.streaming import StreamListener, CallbackStreamListener
3 3
4__all__ = ['Mastodon', 'StreamListener', 'CallbackStreamListener'] 4__all__ = ['Mastodon', 'StreamListener', 'CallbackStreamListener', 'MastodonError', 'MastodonVersionError', 'MastodonIllegalArgumentError', 'MastodonIOError', 'MastodonFileNotFoundError', 'MastodonNetworkError', 'MastodonAPIError', 'MastodonNotFoundError', 'MastodonUnauthorizedError', 'MastodonRatelimitError', 'MastodonMalformedEventError']
Powered by cgit v1.2.3 (git 2.41.0)