

def __get__(self, instance, kind):
    'Support instance methods'
    return (partial(self.__call__, instance) if instance else self.__call__)

dataset/ETHPy150Open timothycrosley/hug/hug/interface.py Local.__get__/original