mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-05 04:30:22 +03:00
Remove unused Connection.clone() method
This commit is contained in:
parent
bce78d277c
commit
6861e37c37
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user