def on(self, event, *handlers):  # pylint: disable=invalid-name

        def _on_wrapper(*handlers):
            """wrapper for on decorator"""
            self.events[event].extend(handlers)
            return handlers[0]

        if handlers:
            return _on_wrapper(*handlers)
        return _on_wrapper
Return a dictionary with all info on the last response.
dataset/ETHPy150Open timofurrer/pyobservable/observable/core.py/Observable.on--crossover with--dataset/ETHPy150Open cloudaice/simple-data/misc/virtenv/lib/python2.7/site-packages/curl/__init__.py/Curl.info