def __repr__(self):
        if hasattr(self, 'name'):
            _id = self.name
        else:
            _id = str(self.func)
        return '<tasklet %s at %0x>' % (_id, id(self))
dataset/ETHPy150Open concurrence/concurrence/lib/concurrence/_stackless.py/tasklet.__repr__/original