UniSize/soapun
UniSize/bucholga
n1class Sizer:n1class SpecialClass:
2 
3    def __get__(self, obj, cls):2    def __get__(self, obj, cls):
4        if hasattr(obj, "__len__"):3        if hasattr(obj, "__len__"):
5            return len(obj)4            return len(obj)
n6        elif hasattr(obj, "__abs__"):n5        if hasattr(obj, "__abs__"):
7            return abs(obj)6            return abs(obj)
n8        else:n
9            return 07        return 0
108
119
t12def sizer(cls):t10def sizer(p_class):
13    cls.size = Sizer()11    p_class.size = SpecialClass()
14    return cls12    return p_class
1513
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op