From 898ce34c65fcfa8031422e69c3885da2007240e9 Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Wed, 13 Jun 2018 11:41:12 +0200 Subject: [PATCH] Set __all__ on telethon.__init__.py --- telethon/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/telethon/__init__.py b/telethon/__init__.py index cfeba49e..1e86f236 100644 --- a/telethon/__init__.py +++ b/telethon/__init__.py @@ -2,8 +2,11 @@ import logging from .telegram_bare_client import TelegramBareClient from .telegram_client import TelegramClient from .network import connection -from . import tl, version +from .tl import types, functions +from . import version, events, utils __version__ = version.__version__ logging.getLogger(__name__).addHandler(logging.NullHandler()) + +__all__ = ['TelegramClient', 'types', 'functions', 'events', 'utils']