Remove unused Connection.clone() method

This commit is contained in:
Dmitry D. Chernov 2019-02-11 08:54:06 +10:00
parent bce78d277c
commit 6861e37c37

View File

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