mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 13:29:47 +00:00
Merge pull request #766 from LonamiWebs/tidygenerator
Tidy up the telethon-generator package
This commit is contained in:
@@ -12,6 +12,7 @@ from .common import (
|
||||
)
|
||||
|
||||
# This imports the base errors too, as they're imported there
|
||||
from .rpc_base_errors import *
|
||||
from .rpc_error_list import *
|
||||
|
||||
|
||||
|
@@ -189,6 +189,6 @@ class TLObject:
|
||||
def __bytes__(self):
|
||||
return b''
|
||||
|
||||
@staticmethod
|
||||
def from_reader(reader):
|
||||
@classmethod
|
||||
def from_reader(cls, reader):
|
||||
return TLObject()
|
||||
|
Reference in New Issue
Block a user