def event(self, coro): # Validation we don't need to worry about setattr(self, coro.__name__, coro) return coro
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)