mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2026-09-04 08:00:38 +00:00
Remove underscore from module names
This commit is contained in:
@@ -14,7 +14,7 @@ from ..network import MTProtoSender, ConnectionTcpFull
|
||||
from ..network.mtprotostate import MTProtoState
|
||||
from ..sessions import Session, SQLiteSession
|
||||
from ..tl import TLObject, functions
|
||||
from ..tl.all_tlobjects import LAYER
|
||||
from ..tl.alltlobjects import LAYER
|
||||
|
||||
DEFAULT_DC_ID = 4
|
||||
DEFAULT_IPV4_IP = '149.154.167.51'
|
||||
|
||||
@@ -4,7 +4,7 @@ such as the AES IGE mode used by Telegram, the authorization key bound with
|
||||
their data centers, and so on.
|
||||
"""
|
||||
from .aes import AES
|
||||
from .aes_ctr import AESModeCTR
|
||||
from .auth_key import AuthKey
|
||||
from .aesctr import AESModeCTR
|
||||
from .authkey import AuthKey
|
||||
from .factorization import Factorization
|
||||
from .cdn_decrypter import CdnDecrypter
|
||||
from .cdndecrypter import CdnDecrypter
|
||||
|
||||
@@ -12,8 +12,8 @@ from .common import (
|
||||
)
|
||||
|
||||
# This imports the base errors too, as they're imported there
|
||||
from .rpc_base_errors import *
|
||||
from .rpc_error_list import *
|
||||
from .rpcbaseerrors import *
|
||||
from .rpcerrorlist import *
|
||||
|
||||
|
||||
def report_error(code, message, report_method):
|
||||
|
||||
@@ -3,5 +3,5 @@ Several extensions Python is missing, such as a proper class to handle a TCP
|
||||
communication with support for cancelling the operation, and an utility class
|
||||
to read arbitrary binary data in a more comfortable way, with int/strings/etc.
|
||||
"""
|
||||
from .binary_reader import BinaryReader
|
||||
from .tcp_client import TcpClient
|
||||
from .binaryreader import BinaryReader
|
||||
from .tcpclient import TcpClient
|
||||
|
||||
@@ -7,7 +7,7 @@ from io import BufferedReader, BytesIO
|
||||
from struct import unpack
|
||||
|
||||
from ..errors import TypeNotFoundError
|
||||
from ..tl.all_tlobjects import tlobjects
|
||||
from ..tl.alltlobjects import tlobjects
|
||||
from ..tl.core import core_objects
|
||||
|
||||
|
||||
Reference in New Issue
Block a user