Add type hint

This commit is contained in:
Dan 2018-06-10 16:14:42 +02:00
parent dc322ddf1a
commit 6ab60c0d36

View File

@ -40,7 +40,7 @@ class Connection:
self.proxy = proxy
self.mode = self.MODES.get(mode, TCPAbridged)
self.connection = None
self.connection = None # type: TCP
async def connect(self):
for i in range(Connection.MAX_RETRIES):