equal
deleted
inserted
replaced
879 |
879 |
880 Users should subclass filecache and provide their own version of this |
880 Users should subclass filecache and provide their own version of this |
881 function to call the appropriate join function on 'obj' (an instance |
881 function to call the appropriate join function on 'obj' (an instance |
882 of the class that its member function was decorated). |
882 of the class that its member function was decorated). |
883 """ |
883 """ |
884 return obj.join(fname) |
884 raise NotImplementedError |
885 |
885 |
886 def __call__(self, func): |
886 def __call__(self, func): |
887 self.func = func |
887 self.func = func |
888 self.name = func.__name__ |
888 self.name = func.__name__ |
889 return self |
889 return self |