diff options
author | Lorenz Diener <[email protected]> | 2018-04-17 15:27:18 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-04-17 15:27:41 +0200 |
commit | d5efea72387b9374fa03cb4c282ed76e74a68447 (patch) | |
tree | bd0f919d54aa2a47e8a8950952c2fb85d8592a95 | |
parent | dd5f4ae08af21e5965b3670231ac92c5503f58cc (diff) | |
download | mastodon.py-d5efea72387b9374fa03cb4c282ed76e74a68447.tar.gz |
Make imports better (fixes #129)
-rw-r--r-- | mastodon/__init__.py | 4 |
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 @@ | |||
1 | from mastodon.Mastodon import Mastodon | 1 | from mastodon.Mastodon import Mastodon, MastodonError, MastodonVersionError, MastodonIllegalArgumentError, MastodonIOError, MastodonFileNotFoundError, MastodonNetworkError, MastodonAPIError, MastodonNotFoundError, MastodonUnauthorizedError, MastodonRatelimitError, MastodonMalformedEventError |
2 | from mastodon.streaming import StreamListener, CallbackStreamListener | 2 | from 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'] |