def __get__ ( self , obj , objtype ) : import functools return functools . partial ( self . __call__ , obj )
python get objectthat called a function
Support instance methods
def __get__(self, obj, objtype):
        """ Support instance methods """
        import functools
        return functools.partial(self.__call__, obj)