Commits

Andriy Kornatskyy committed dad6550

Minor refactoring in attribute descriptor

  • Participants
  • Parent commits 6e4ec58

Comments (0)

Files changed (1)

File src/wheezy/core/descriptors.py

 
     def __get__(self, obj, t=None):
         val = self.f(obj)
-        setattr(obj, self.f.__name__, val)
+        setattr(obj, self.__name__, val)
         return val