Hint the correct type

This commit is contained in:
Dan 2017-12-12 08:07:31 +01:00
parent ff3dd4a3ba
commit 6fa8375cb5

View File

@ -84,7 +84,7 @@ class Client:
self.update_handler = None
# TODO: Better update handler
def set_update_handler(self, callback):
def set_update_handler(self, callback: callable):
self.update_handler = callback
def send(self, data: Object):