Remove underscore from module names

This commit is contained in:
Lonami Exo
2018-06-18 21:02:42 +02:00
parent 262018959f
commit 4e9a84c3b5
19 changed files with 17 additions and 20 deletions

View File

@@ -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'

View File

@@ -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

View File

@@ -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):

View File

@@ -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

View File

@@ -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