def __get__(self, instance, cls):
        if instance is not None:
            try:
                return instance.__dict__[self.name]
            except KeyError:
                raise AttributeError(self.name)
        members = {'__doc__': getattr(cls, '__doc__', '')}
        try:
            members['__module__'] = \
              sys._getframe(1).f_globals['__name__']
        except (AttributeError, KeyError, __HOLE__):  # pragma: nocover
            members['__module__'] = cls.__module__
        clone = type(cls.__name__, (cls,), members)
        return self.cloner.__get__(None, clone)
dataset/ETHPy150Open jek/flatland/flatland/util/base.py/class_cloner.__get__