Казимагамедов Тагир 424 MetaBool 16750
Горбачёв Алексей Валериевич, 515 группа MetaBool 16702
f1class empty(type):f1class empty(type):
22
3    def __init__(cls, name, parents, ns, **kwds):3    def __init__(cls, name, parents, ns, **kwds):
44
n5        def __bool__(self):n5        def _bool(self):
6            for _, val in self.__dict__.items():6            for key, val in self.__dict__.items():
7                if not val:7                if not val:
8                    return False8                    return False
9            return True9            return True
t10        cls.__bool__ = __bool__t10        cls.__bool__ = _bool
11        return super().__init__(name, parents, ns)11        return super().__init__(name, parents, ns)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op