diff --git a/telethon/network/connection/connection.py b/telethon/network/connection/connection.py index e9e83fb2..029c19fe 100644 --- a/telethon/network/connection/connection.py +++ b/telethon/network/connection/connection.py @@ -95,14 +95,6 @@ class Connection(abc.ABC): if self._writer: self._writer.close() - def clone(self): - """ - Creates a clone of the connection. - """ - # TODO: Should we pass proxy? - return self.__class__( - self._ip, self._port, self._dc_id, loop=self._loop) - def send(self, data): """ Sends a packet of data through this connection mode.