Алкисев Илья, 517 группа MetaBool 17195
Антон Щербаков, 523 MetaBool 17216
f1class empty(type):f1class empty(type):
22
3    @staticmethod3    @staticmethod
t4    def __new__(metacls, name, parents, ns, **kwds):t4    def __new__(mcls, name, pids, ns, **kwds):
5        obj = super().__new__(metacls, name, parents, ns)5        to_return = super().__new__(mcls, name, pids, ns)
6        obj.__bool__ = lambda self: all(self.__dict__.values())6        to_return.__bool__ = lambda self: all(self.__dict__.values())
7        return obj7        return to_return
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op