

def __repr__(self):
    cls = '{}.{}'.format(self.__module__, self.__class__.__name__)
    addr = hex(id(self))
    ref = self.ref
    active = self.active
    return '<{cls} at {addr} ref={ref} active={active}>'.format(**locals())

dataset/ETHPy150Open veegee/guv/pyuv_cffi/__init__.py Handle.__repr__/original