Provide a blanket implementation for _init_conn

This commit is contained in:
Lonami Exo 2019-02-21 10:43:31 +01:00
parent 6de7329ce7
commit abadf3c789

View File

@ -173,7 +173,6 @@ class Connection(abc.ABC):
except asyncio.CancelledError:
break
@abc.abstractmethod
def _init_conn(self):
"""
This method will be called after `connect` is called.
@ -183,7 +182,6 @@ class Connection(abc.ABC):
data to Telegram to indicate which connection mode will
be used.
"""
raise NotImplemented
@abc.abstractmethod
def _send(self, data):